forked from ShuriZma/suyu
Don't include objective C in the list of languages
This commit is contained in:
parent
897e0dfdc0
commit
844eff564e
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue