diff --git a/3rdParty/glm/CMakeLists.txt b/3rdParty/glm/CMakeLists.txt index bab40a1..9428b93 100644 --- a/3rdParty/glm/CMakeLists.txt +++ b/3rdParty/glm/CMakeLists.txt @@ -19,10 +19,10 @@ 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 () target_compile_definitions(${TARGET} PUBLIC GLM_FORCE_INTRINSICS) endif () -endfunction() \ No newline at end of file +endfunction()