diff --git a/CMakeLists.txt b/CMakeLists.txt index 6af68762..bf065246 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,9 +46,11 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) if(MSVC) add_compile_options(/Zc:threadSafeInit-) - add_compile_options(/arch:IA32) + add_compile_options(/arch:SSE2) # Statically link Microsoft's CRT. set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") +else() + add_compile_options(-msse2) endif() # FIXME