From a413dd06ec0a254093031a122073ad5eaf8be3c8 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 10 Jul 2022 01:38:40 -0500 Subject: [PATCH] [nostalgia] Explicitly specify OBJC as requirement for Mac build --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b49d469e..a57bac88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.19) set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19 if(BUILDCORE_TARGET STREQUAL "gba") - project(nostalgia CXX ASM) + project(nostalgia ASM CXX) elseif(APPLE) - project(nostalgia CXX OBJCXX) + project(nostalgia C CXX OBJC OBJCXX) else() - project(nostalgia CXX) + project(nostalgia C CXX) endif() include(deps/buildcore/base.cmake)