[nostalgia] Specifiy needed languages in CMake project declaration
This commit is contained in:
parent
82021b8ee5
commit
c7c1029ad8
@ -1,10 +1,12 @@
|
||||
cmake_minimum_required(VERSION 3.19)
|
||||
set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19
|
||||
|
||||
if(APPLE AND NOT BUILDCORE_TARGET STREQUAL "gba")
|
||||
if(BUILDCORE_TARGET STREQUAL "gba")
|
||||
project(nostalgia CXX ASM)
|
||||
elseif(APPLE)
|
||||
project(nostalgia CXX OBJCXX)
|
||||
else()
|
||||
project(nostalgia)
|
||||
project(nostalgia CXX)
|
||||
endif()
|
||||
|
||||
include(deps/buildcore/base.cmake)
|
||||
|
Loading…
Reference in New Issue
Block a user