summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ArchDep.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/ArchDep.cmake b/cmake/ArchDep.cmake
index 7b9a84491..71f2422ca 100644
--- a/cmake/ArchDep.cmake
+++ b/cmake/ArchDep.cmake
@@ -93,6 +93,7 @@ IF ("${ARCH}" STREQUAL "x86_64")
MESSAGE(STATUS "Enable sse2 on x86_64 architecture")
IF((CMAKE_C_COMPILER_ID MATCHES "GNU") OR (CMAKE_C_COMPILER_ID MATCHES "Clang"))
ADD_COMPILE_OPTIONS(-msse2)
+ ADD_COMPILE_OPTIONS(-m64)
ELSEIF(CMAKE_C_COMPILER_ID MATCHES "Intel")
ADD_COMPILE_OPTIONS(/QxSSE2)
ELSEIF((CMAKE_C_COMPILER_ID MATCHES "MSVC"))