summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau2012-01-06 13:59:34 -0500
committerTom Rondeau2012-01-06 13:59:34 -0500
commit83b3e37d09181daa82584327d2614eeca38cf027 (patch)
tree5594fc898fc3099c4805393b62f595a7216ffbcb
parentd2d0da6f500961e910be59ff52baaec256f4432d (diff)
downloadgnuradio-83b3e37d09181daa82584327d2614eeca38cf027.tar.gz
gnuradio-83b3e37d09181daa82584327d2614eeca38cf027.tar.bz2
gnuradio-83b3e37d09181daa82584327d2614eeca38cf027.zip
volk: tell Orc compiler to include math.h to find some generic functions (sqrt).
-rw-r--r--volk/lib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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})