From 0943f3263a682d0b24afdcded9d6dc03c70ab397 Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Tue, 5 Aug 2014 13:50:26 +0100 Subject: [PATCH] Fix for building without VOLK --- cmake/modules/FindVolk.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindVolk.cmake b/cmake/modules/FindVolk.cmake index 5861f1232..d3a5ceba1 100644 --- a/cmake/modules/FindVolk.cmake +++ b/cmake/modules/FindVolk.cmake @@ -25,7 +25,7 @@ FIND_LIBRARY( ) # Some functions are not defined in old volk versions -SET(CMAKE_REQUIRED_LIBRARIES ${VOLK_LIBRARIES} m) +SET(CMAKE_REQUIRED_LIBRARIES volk m) CHECK_FUNCTION_EXISTS_MATH(volk_32f_index_max_16u HAVE_VOLK_MAX_FUNCTION) CHECK_FUNCTION_EXISTS_MATH(volk_32f_accumulator_s32f HAVE_VOLK_ACC_FUNCTION) CHECK_FUNCTION_EXISTS_MATH(volk_32fc_s32fc_multiply_32fc HAVE_VOLK_MULT_FUNCTION)