From 3c9ac4489eef3aaf973754dc816950ba90243863 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 5 Feb 2022 18:45:50 +0300 Subject: [PATCH] cmake: enable_language(OBJC) to fix check_objc_source_compiles(). --- cmake/macros.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/macros.cmake b/cmake/macros.cmake index 914c30f62..c284c5e2f 100644 --- a/cmake/macros.cmake +++ b/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)