From abff0a39ace17f88bcdff9c0484beda9246f3121 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 1 Oct 2018 11:23:26 +0200 Subject: [PATCH] Fixed build --- CMakeLists.txt | 2 +- test/core/core_cpp_constexpr.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03abda95..756673a3 100644 --- a/CMakeLists.txt +++ b/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) diff --git a/test/core/core_cpp_constexpr.cpp b/test/core/core_cpp_constexpr.cpp index f02441df..3dc0a92b 100644 --- a/test/core/core_cpp_constexpr.cpp +++ b/test/core/core_cpp_constexpr.cpp @@ -2,8 +2,6 @@ #if GLM_CONFIG_CONSTEXP == GLM_ENABLE -//#error GNI - #include #include #include