From 83b3e37d09181daa82584327d2614eeca38cf027 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Fri, 6 Jan 2012 13:59:34 -0500 Subject: volk: tell Orc compiler to include math.h to find some generic functions (sqrt). --- volk/lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'volk/lib/CMakeLists.txt') diff --git a/volk/lib/CMakeLists.txt b/volk/lib/CMakeLists.txt index 1891996af..00d8660ab 100644 --- a/volk/lib/CMakeLists.txt +++ b/volk/lib/CMakeLists.txt @@ -277,7 +277,7 @@ if(ORC_FOUND) #create a rule to generate the source and add to the list of sources add_custom_command( - COMMAND ${ORCC_EXECUTABLE} --implementation -o ${orcc_gen} ${orc_file} + COMMAND ${ORCC_EXECUTABLE} --include math.h --implementation -o ${orcc_gen} ${orc_file} DEPENDS ${orc_file} OUTPUT ${orcc_gen} ) list(APPEND volk_sources ${orcc_gen}) -- cgit