[nostalgia] Fix OBJCXX option not to set for GBA builds

This commit is contained in:
Gary Talent 2022-03-12 02:54:43 -06:00
parent 919e637822
commit bc6128b198

View File

@ -1,14 +1,14 @@
cmake_minimum_required(VERSION 3.19)
set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19
if(APPLE)
include(deps/buildcore/base.cmake)
if(APPLE AND NOT BUILDCORE_TARGET STREQUAL "gba")
project(nostalgia CXX OBJCXX)
else()
project(nostalgia CXX)
project(nostalgia)
endif()
include(deps/buildcore/base.cmake)
set(NOSTALGIA_BUILD_PLAYER ON CACHE BOOL "Build Player")
set(NOSTALGIA_BUILD_STUDIO ON CACHE BOOL "Build Studio")
set(OX_ENABLE_TRACEHOOK OFF CACHE BOOL "Generate OxTraceHook shared library for uprobes")