[nostalgia] Fix OBJCXX option not to set for GBA builds
This commit is contained in:
parent
919e637822
commit
bc6128b198
@ -1,14 +1,14 @@
|
|||||||
cmake_minimum_required(VERSION 3.19)
|
cmake_minimum_required(VERSION 3.19)
|
||||||
set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 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)
|
project(nostalgia CXX OBJCXX)
|
||||||
else()
|
else()
|
||||||
project(nostalgia CXX)
|
project(nostalgia)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(deps/buildcore/base.cmake)
|
|
||||||
|
|
||||||
set(NOSTALGIA_BUILD_PLAYER ON CACHE BOOL "Build Player")
|
set(NOSTALGIA_BUILD_PLAYER ON CACHE BOOL "Build Player")
|
||||||
set(NOSTALGIA_BUILD_STUDIO ON CACHE BOOL "Build Studio")
|
set(NOSTALGIA_BUILD_STUDIO ON CACHE BOOL "Build Studio")
|
||||||
set(OX_ENABLE_TRACEHOOK OFF CACHE BOOL "Generate OxTraceHook shared library for uprobes")
|
set(OX_ENABLE_TRACEHOOK OFF CACHE BOOL "Generate OxTraceHook shared library for uprobes")
|
||||||
|
Loading…
Reference in New Issue
Block a user