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)