Browse Source

Fixed build

Christophe Riccio 7 years ago
parent
commit
abff0a39ac
2 changed files with 1 additions and 3 deletions
  1. 1 1
      CMakeLists.txt
  2. 0 2
      test/core/core_cpp_constexpr.cpp

+ 1 - 1
CMakeLists.txt

@@ -109,7 +109,7 @@ option(GLM_TEST_ENABLE_SIMD_AVX2 "Enable AVX2 optimizations" OFF)
 option(GLM_TEST_FORCE_PURE "Force 'pure' instructions" OFF)
 
 if(GLM_TEST_FORCE_PURE)
-	//add_definitions(-DGLM_FORCE_PURE)
+	add_definitions(-DGLM_FORCE_PURE)
 
 	if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
 		add_compile_options(-mfpmath=387)

+ 0 - 2
test/core/core_cpp_constexpr.cpp

@@ -2,8 +2,6 @@
 
 #if GLM_CONFIG_CONSTEXP == GLM_ENABLE
 
-//#error GNI
-
 #include <glm/gtc/constants.hpp>
 #include <glm/gtc/quaternion.hpp>
 #include <glm/ext/vector_relational.hpp>