summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-09-25 11:55:16 -0400
committerTom Rondeau <tom@trondeau.com>2014-09-25 11:55:16 -0400
commit37088b85ef48dcb3774e4088e2f237e201a4ba7e (patch)
tree2aa9bccc36bb619bd8cc02c5da196849242ee5fb
parentf75ae72a8fd49efaf2e8e142e6cc2022885f37ef (diff)
parent27e90ddc74b61248b10495408d3d347acb318699 (diff)
Merge remote-tracking branch 'dgeiger/cmake_neon'
-rw-r--r--volk/lib/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/volk/lib/CMakeLists.txt b/volk/lib/CMakeLists.txt
index 202418af2d..386237bf65 100644
--- a/volk/lib/CMakeLists.txt
+++ b/volk/lib/CMakeLists.txt
@@ -428,6 +428,12 @@ if(${CMAKE_VERSION} VERSION_GREATER "2.8.9")
else(${CMAKE_VERSION} VERSION_GREATER "2.8.9")
message(STATUS "Not enabling ASM support. CMake >= 2.8.10 required.")
+ foreach(machine_name ${available_machines})
+ string(REGEX MATCH "neon" NEON_MACHINE ${machine_name})
+ if( NEON_MACHINE STREQUAL "neon")
+ message(FATAL_ERROR "CMake >= 2.8.10 is required for ARM NEON support")
+ endif()
+ endforeach()
endif(${CMAKE_VERSION} VERSION_GREATER "2.8.9")
########################################################################