cmake: enable_language(OBJC) to fix check_objc_source_compiles().

This commit is contained in:
Ozkan Sezer 2022-02-05 18:45:50 +03:00
parent 686a0f3456
commit 3c9ac4489e
1 changed files with 1 additions and 0 deletions

View File

@ -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)