Explorar el Código

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

Ozkan Sezer hace 4 años
padre
commit
3c9ac4489e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      cmake/macros.cmake

+ 1 - 0
cmake/macros.cmake

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