From 40fa9cc1a199bb406610ad53d4c8662dcb52da38 Mon Sep 17 00:00:00 2001 From: "A. Maitland Bottoms" Date: Tue, 27 Mar 2018 22:08:41 -0400 Subject: [PATCH] libm link Explicitly tell cmake to link with libm Gbp-Pq: Name libm-link --- lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index dd3e05a..e8aef54 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -544,7 +544,7 @@ if(CMAKE_VERSION VERSION_GREATER "2.8.7") #Add dynamic library add_library(volk SHARED $) - target_link_libraries(volk ${volk_libraries}) + target_link_libraries(volk ${volk_libraries} m) #Configure target properties set_target_properties(volk_obj PROPERTIES COMPILE_FLAGS "-fPIC") -- 2.30.2