diff --git a/glm/gtx/simd_mat4.hpp b/glm/gtx/simd_mat4.hpp index 442fbd41..b91c0e7c 100644 --- a/glm/gtx/simd_mat4.hpp +++ b/glm/gtx/simd_mat4.hpp @@ -17,13 +17,13 @@ // Dependency: #include "../glm.hpp" -#if(!(GLM_ARCH & GLM_ARCH_SSE2)) -#error "GLM: GLM_GTX_simd_mat4 requires compiler support of SSE2 through intrinsics" +#if(GLM_ARCH & GLM_ARCH_SSE2) +# include "../core/intrinsic_matrix.hpp" +# include "../gtx/simd_vec4.hpp" +#else +# error "GLM: GLM_GTX_simd_mat4 requires compiler support of SSE2 through intrinsics" #endif -#include "../core/intrinsic_matrix.hpp" -#include "../gtx/simd_vec4.hpp" - #if(defined(GLM_MESSAGES) && !defined(glm_ext)) # pragma message("GLM: GLM_GTX_simd_mat4 extension included") #endif