forked from ShuriZma/suyu
1
0
Fork 0

Don't include objective C in the list of languages

This commit is contained in:
Samuliak 2024-04-06 20:31:41 +02:00
parent 897e0dfdc0
commit 844eff564e
1 changed files with 1 additions and 5 deletions

View File

@ -7,11 +7,7 @@ cmake_minimum_required(VERSION 3.22)
set(CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT OFF) set(CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT OFF)
set(CMAKE_XCODE_EMIT_RELATIVE_PATH YES) set(CMAKE_XCODE_EMIT_RELATIVE_PATH YES)
if(APPLE) project(suyu)
project(suyu LANGUAGES C CXX OBJC OBJCXX)
else()
project(suyu)
endif()
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules")