From c7c1029ad86cde06e7a249015312aaa22a3f5eee Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 24 Mar 2022 20:47:47 -0500 Subject: [PATCH] [nostalgia] Specifiy needed languages in CMake project declaration --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c409b94..7de05025 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)