[nostalgia] Explicitly specify OBJC as requirement for Mac build

This commit is contained in:
Gary Talent 2022-07-10 01:38:40 -05:00
parent 3310dbba51
commit a413dd06ec

View File

@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.19)
set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19
if(BUILDCORE_TARGET STREQUAL "gba")
project(nostalgia CXX ASM)
project(nostalgia ASM CXX)
elseif(APPLE)
project(nostalgia CXX OBJCXX)
project(nostalgia C CXX OBJC OBJCXX)
else()
project(nostalgia CXX)
project(nostalgia C CXX)
endif()
include(deps/buildcore/base.cmake)