mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 05:05:02 +00:00
cmake: enable_language(OBJC) only for APPLE
This commit is contained in:
@@ -101,8 +101,10 @@ if(${CMAKE_VERSION} VERSION_LESS "3.16.0")
|
||||
endmacro()
|
||||
else()
|
||||
include(CheckOBJCSourceCompiles)
|
||||
if (APPLE)
|
||||
enable_language(OBJC)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 3.13.0)
|
||||
macro(target_link_directories _TARGET _SCOPE)
|
||||
|
||||
Reference in New Issue
Block a user