diff options
author | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-12-07 12:10:28 +0200 |
---|---|---|
committer | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-12-07 12:10:28 +0200 |
commit | 29455865d8e6de9fcedefad6385041b2e59a82a3 (patch) | |
tree | 6d62a5e5de0a8b1253bfeb8623d4bdc2c8ef94d0 | |
parent | 32b519b6b766c5f310068aaed092cade8b31d078 (diff) | |
download | ffts-29455865d8e6de9fcedefad6385041b2e59a82a3.zip ffts-29455865d8e6de9fcedefad6385041b2e59a82a3.tar.gz |
To use build scalar only version, "cmake -DENABLE_VFP=ON -DDISABLE_DYNAMIC_CODE=ON"
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 16ca9af..f9be0d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,10 +111,12 @@ if(ENABLE_NEON) add_definitions(-DHAVE_NEON) elseif(ENABLE_VFP) - list(APPEND FFTS_SOURCES - src/vfp.s - src/arch/vfp.c - ) + if(NOT DISABLE_DYNAMIC_CODE) + list(APPEND FFTS_SOURCES + src/vfp.s + src/arch/vfp.c + ) + endif(NOT DISABLE_DYNAMIC_CODE) add_definitions(-DHAVE_VFP) elseif(HAVE_XMMINTRIN_H) |