Fixed SIMD enable for GLM tests
This commit is contained in:
@@ -72,7 +72,7 @@ if(GLM_TEST_FORCE_PURE)
|
|||||||
elseif(MSVC)
|
elseif(MSVC)
|
||||||
add_definitions(/arch:IA32)
|
add_definitions(/arch:IA32)
|
||||||
endif()
|
endif()
|
||||||
elseif(GLM_TEST_ENABLE_AVX2)
|
elseif(GLM_TEST_ENABLE_SIMD_AVX2)
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
add_definitions(-mavx2)
|
add_definitions(-mavx2)
|
||||||
elseif(GLM_USE_INTEL)
|
elseif(GLM_USE_INTEL)
|
||||||
@@ -80,7 +80,7 @@ elseif(GLM_TEST_ENABLE_AVX2)
|
|||||||
elseif(MSVC)
|
elseif(MSVC)
|
||||||
add_definitions(/arch:AVX2)
|
add_definitions(/arch:AVX2)
|
||||||
endif()
|
endif()
|
||||||
elseif(GLM_TEST_ENABLE_AVX)
|
elseif(GLM_TEST_ENABLE_SIMD_AVX)
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
add_definitions(-mavx)
|
add_definitions(-mavx)
|
||||||
elseif(GLM_USE_INTEL)
|
elseif(GLM_USE_INTEL)
|
||||||
@@ -88,7 +88,7 @@ elseif(GLM_TEST_ENABLE_AVX)
|
|||||||
elseif(MSVC)
|
elseif(MSVC)
|
||||||
add_definitions(/arch:AVX)
|
add_definitions(/arch:AVX)
|
||||||
endif()
|
endif()
|
||||||
elseif(GLM_TEST_ENABLE_SSE3)
|
elseif(GLM_TEST_ENABLE_SIMD_SSE3)
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
add_definitions(-msse3)
|
add_definitions(-msse3)
|
||||||
elseif(GLM_USE_INTEL)
|
elseif(GLM_USE_INTEL)
|
||||||
@@ -96,7 +96,7 @@ elseif(GLM_TEST_ENABLE_SSE3)
|
|||||||
elseif(MSVC)
|
elseif(MSVC)
|
||||||
add_definitions(/arch:SSE2) # VC doesn't support /arch:SSE3
|
add_definitions(/arch:SSE2) # VC doesn't support /arch:SSE3
|
||||||
endif()
|
endif()
|
||||||
elseif(GLM_TEST_ENABLE_SSE2)
|
elseif(GLM_TEST_ENABLE_SIMD_SSE2)
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
add_definitions(-msse2)
|
add_definitions(-msse2)
|
||||||
elseif(GLM_USE_INTEL)
|
elseif(GLM_USE_INTEL)
|
||||||
|
|||||||
Reference in New Issue
Block a user