From a278a10634065324116c3384e53bc433ff8d2cd7 Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Thu, 8 Jun 2017 12:44:11 +0100 Subject: [PATCH] Link order fix for volk and math --- lib/src/phy/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/phy/CMakeLists.txt b/lib/src/phy/CMakeLists.txt index 5ef3575bb..e8113dbfd 100644 --- a/lib/src/phy/CMakeLists.txt +++ b/lib/src/phy/CMakeLists.txt @@ -55,7 +55,6 @@ set(srslte_srcs $ ) add_library(srslte_phy STATIC ${srslte_srcs}) -target_link_libraries(srslte_phy pthread m) set_target_properties(srslte_phy PROPERTIES VERSION ${SRSLTE_VERSION_MAJOR}.${SRSLTE_VERSION_MINOR}) @@ -109,5 +108,5 @@ if(VOLK_FOUND) target_link_libraries(srslte_phy ${VOLK_LIBRARIES}) endif(VOLK_FOUND) +target_link_libraries(srslte_phy pthread m) install(TARGETS srslte_phy DESTINATION ${LIBRARY_DIR}) -