Fix Metal cmake issue on Mac

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-05-23 16:35:50 +02:00
committed by Konstantin Pastbin
parent fad1da2f6c
commit 10bc524571

View File

@@ -66,6 +66,7 @@ if(${PLATFORM_MAC})
# Metal language support # Metal language support
list(APPEND CMAKE_MODULE_PATH ${OMIM_ROOT}/3party/CMake-MetalShaderSupport/cmake) list(APPEND CMAKE_MODULE_PATH ${OMIM_ROOT}/3party/CMake-MetalShaderSupport/cmake)
include(CheckLanguage) include(CheckLanguage)
include(CMakeMetalInformation)
include(MetalShaderSupport) include(MetalShaderSupport)
check_language(Metal) check_language(Metal)
if(CMAKE_Metal_COMPILER) if(CMAKE_Metal_COMPILER)