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}) -