Replace Darwin check with Apple check
Darwin excludes iOS
This commit is contained in:
parent
cd5ea90aee
commit
fd403737d2
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ option(ENABLE_RTTI "Enables RTTI")
|
||||||
option(ENABLE_EXCEPTIONS "Enables Exceptions")
|
option(ENABLE_EXCEPTIONS "Enables Exceptions")
|
||||||
option(ENABLE_OPT "Enables spirv-opt capability if present" ON)
|
option(ENABLE_OPT "Enables spirv-opt capability if present" ON)
|
||||||
|
|
||||||
if(MINGW OR (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND ${CMAKE_CXX_COMPILER_ID} MATCHES "GNU"))
|
if(MINGW OR (APPLE AND ${CMAKE_CXX_COMPILER_ID} MATCHES "GNU"))
|
||||||
# Workaround for CMake behavior on Mac OS with gcc, cmake generates -Xarch_* arguments
|
# Workaround for CMake behavior on Mac OS with gcc, cmake generates -Xarch_* arguments
|
||||||
# which gcc rejects
|
# which gcc rejects
|
||||||
option(ENABLE_PCH "Enables Precompiled header")
|
option(ENABLE_PCH "Enables Precompiled header")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue