[nostalgia] Put CMake project call before buildcore include

This commit is contained in:
Gary Talent 2022-03-13 03:09:16 -05:00
parent 4b6b069bf1
commit c6780e41dd

View File

@ -1,14 +1,14 @@
cmake_minimum_required(VERSION 3.19)
set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19
include(deps/buildcore/base.cmake)
if(APPLE AND NOT BUILDCORE_TARGET STREQUAL "gba")
project(nostalgia CXX OBJCXX)
else()
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")