diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 593f418..b528067 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -270,7 +270,9 @@ elseif(CMAKE_COMPILER_IS_GNUCC) list(APPEND FFTS_EXTRA_LIBRARIES m) endif(HAVE_LIBM) - if(HAVE_EMMINTRIN_H) + if(HAVE_PMMINTRIN_H) + add_definitions(-msse3) + elseif(HAVE_EMMINTRIN_H) add_definitions(-msse2) elseif(HAVE_XMMINTRIN_H) add_definitions(-msse) |