Fix crash on apple silicon due to cmake 4 change
The test to set TARGET_MAC doesn't work anymore with cmake 4. Fixes #1918
This commit is contained in:
parent
cdef7f7444
commit
57cc7b4a60
|
@ -248,7 +248,7 @@ else()
|
|||
$<$<COMPILE_LANGUAGE:CXX>:-Wall>)
|
||||
endif()
|
||||
|
||||
if(${CMAKE_OSX_SYSROOT} MATCHES "\/MacOSX.platform\/Developer\/SDKs")
|
||||
if(APPLE AND NOT IOS)
|
||||
set(TARGET_MAC ON)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue