cmake: enable_language(OBJC) to fix check_objc_source_compiles().
parent
686a0f3456
commit
3c9ac4489e
|
@ -101,6 +101,7 @@ if(${CMAKE_VERSION} VERSION_LESS "3.16.0")
|
||||||
endmacro()
|
endmacro()
|
||||||
else()
|
else()
|
||||||
include(CheckOBJCSourceCompiles)
|
include(CheckOBJCSourceCompiles)
|
||||||
|
enable_language(OBJC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.13.0)
|
if(CMAKE_VERSION VERSION_LESS 3.13.0)
|
||||||
|
|
Loading…
Reference in New Issue