Browse Source

Fix macOS C.I.

christophe 10 months ago
parent
commit
fe26a526cd
2 changed files with 2 additions and 5 deletions
  1. 2 1
      CMakeLists.txt
  2. 0 4
      test/core/core_force_intrinsics.cpp

+ 2 - 1
CMakeLists.txt

@@ -245,7 +245,8 @@ elseif(GLM_ENABLE_SIMD_SSE2)
 	endif()
 	endif()
 	message(STATUS "GLM: SSE2 instruction set")
 	message(STATUS "GLM: SSE2 instruction set")
 elseif(GLM_ENABLE_SIMD_NEON)
 elseif(GLM_ENABLE_SIMD_NEON)
-	add_definitions(-DGLM_FORCE_NEON)
+	add_definitions(-DGLM_FORCE_INTRINSICS)
+
 	message(STATUS "GLM: ARM NEON instruction set")
 	message(STATUS "GLM: ARM NEON instruction set")
 endif()
 endif()
 
 

+ 0 - 4
test/core/core_force_intrinsics.cpp

@@ -11,10 +11,6 @@
 #include <ctime>
 #include <ctime>
 #include <vector>
 #include <vector>
 
 
-#ifdef GLM_FORCE_INTRINSICS
-#pragma message("GLM_FORCE_INTRINSICS is defined")
-#endif//
-
 static int test_vec4_ctor()
 static int test_vec4_ctor()
 {
 {
 	int Error = 0;
 	int Error = 0;