mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 17:04:35 +00:00
msvc now supports sse4.2
This commit is contained in:
parent
33b4a621a6
commit
1644632ca5
@ -192,7 +192,7 @@ elseif(GLM_ENABLE_SIMD_SSE4_2)
|
|||||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
||||||
add_compile_options(/QxSSE4.2)
|
add_compile_options(/QxSSE4.2)
|
||||||
elseif((CMAKE_CXX_COMPILER_ID MATCHES "MSVC") AND NOT CMAKE_CL_64)
|
elseif((CMAKE_CXX_COMPILER_ID MATCHES "MSVC") AND NOT CMAKE_CL_64)
|
||||||
add_compile_options(/arch:SSE2) # VC doesn't support SSE4.2
|
add_compile_options(/arch:SSE4.2)
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "GLM: SSE4.2 instruction set")
|
message(STATUS "GLM: SSE4.2 instruction set")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user