mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
Fix Metal cmake issue on Mac
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
fad1da2f6c
commit
10bc524571
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user