Fixed /arch:SSE3 warnings, no supported by VC

This commit is contained in:
Christophe Riccio 2013-12-18 18:45:02 +01:00
parent 0e31538c26
commit 570ec64d38

View File

@ -85,7 +85,7 @@ elseif(GLM_TEST_ENABLE_SSE3)
elseif(GLM_USE_INTEL) elseif(GLM_USE_INTEL)
add_definitions(/QxSSE3) add_definitions(/QxSSE3)
elseif(MSVC) elseif(MSVC)
add_definitions(/arch:SSE3) add_definitions(/arch:SSE2) # VC doesn't support /arch:SSE3
endif() endif()
elseif(GLM_TEST_ENABLE_SSE2) elseif(GLM_TEST_ENABLE_SSE2)
if(CMAKE_COMPILER_IS_GNUCXX) if(CMAKE_COMPILER_IS_GNUCXX)