Disable AVX on apple (because of apple silicon0
This commit is contained in:
2
3rdParty/glm/CMakeLists.txt
vendored
2
3rdParty/glm/CMakeLists.txt
vendored
@@ -19,7 +19,7 @@ function(SetGlmDefines TARGET)
|
||||
target_compile_definitions(${TARGET} PUBLIC GLM_ENABLE_EXPERIMENTAL)
|
||||
target_compile_definitions(${TARGET} PUBLIC GLM_FORCE_ALIGNED_GENTYPES)
|
||||
|
||||
if (NOT ANDROID AND NOT IOS)
|
||||
if (NOT ANDROID AND NOT APPLE)
|
||||
# TODO check target architecture first
|
||||
target_compile_definitions(${TARGET} PUBLIC GLM_FORCE_AVX2)
|
||||
else ()
|
||||
|
||||
Reference in New Issue
Block a user