[nostalgia] Specifiy needed languages in CMake project declaration

This commit is contained in:
Gary Talent 2022-03-24 20:47:47 -05:00
parent 82021b8ee5
commit c7c1029ad8

View File

@ -1,10 +1,12 @@
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 AND NOT BUILDCORE_TARGET STREQUAL "gba") if(BUILDCORE_TARGET STREQUAL "gba")
project(nostalgia CXX ASM)
elseif(APPLE)
project(nostalgia CXX OBJCXX) project(nostalgia CXX OBJCXX)
else() else()
project(nostalgia) project(nostalgia CXX)
endif() endif()
include(deps/buildcore/base.cmake) include(deps/buildcore/base.cmake)