summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJukka Ojanen <jukka.ojanen@linkotec.net>2015-10-14 16:24:15 +0300
committerJukka Ojanen <jukka.ojanen@linkotec.net>2015-10-14 16:24:15 +0300
commitcf746df26a0cd6e1948988e458fc7305bb9bbdbd (patch)
treeb689ab15ec0edef8a39378b80e591d783621ea43
parent2132b65a334a7a875da791bb971b79c103c55623 (diff)
downloadffts-cf746df26a0cd6e1948988e458fc7305bb9bbdbd.zip
ffts-cf746df26a0cd6e1948988e458fc7305bb9bbdbd.tar.gz
Fix error "target specific option mismatch", _mm_addsub_ps intrinsic needs SSE3
-rw-r--r--CMakeLists.txt4
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)
OpenPOWER on IntegriCloud