mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-16 03:44:20 +08:00
cmake: enable_language(OBJC) to fix check_objc_source_compiles().
This commit is contained in:
@@ -101,6 +101,7 @@ if(${CMAKE_VERSION} VERSION_LESS "3.16.0")
|
||||
endmacro()
|
||||
else()
|
||||
include(CheckOBJCSourceCompiles)
|
||||
enable_language(OBJC)
|
||||
endif()
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 3.13.0)
|
||||
|
||||
Reference in New Issue
Block a user