summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-06-21 12:50:39 -0700
committerJosh Blum <josh@joshknows.com>2013-06-21 12:50:39 -0700
commit80045259b53260eeee57e84c34810ea58b39605b (patch)
tree8138d70c33c70330bbd27ff2091840c4894dda11 /host
parentdeef51d8a33bde0899152a97df40dfb6635cd567 (diff)
downloaduhd-80045259b53260eeee57e84c34810ea58b39605b.tar.gz
uhd-80045259b53260eeee57e84c34810ea58b39605b.tar.bz2
uhd-80045259b53260eeee57e84c34810ea58b39605b.zip
uhd: explicitly link the apps w/ boost
Diffstat (limited to 'host')
-rw-r--r--host/examples/CMakeLists.txt4
-rw-r--r--host/utils/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/host/examples/CMakeLists.txt b/host/examples/CMakeLists.txt
index bdefeba0a..53e913070 100644
--- a/host/examples/CMakeLists.txt
+++ b/host/examples/CMakeLists.txt
@@ -42,7 +42,7 @@ SET(example_sources
FOREACH(example_source ${example_sources})
GET_FILENAME_COMPONENT(example_name ${example_source} NAME_WE)
ADD_EXECUTABLE(${example_name} ${example_source})
- TARGET_LINK_LIBRARIES(${example_name} uhd)
+ TARGET_LINK_LIBRARIES(${example_name} uhd ${Boost_LIBRARIES})
UHD_INSTALL(TARGETS ${example_name} RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples)
ENDFOREACH(example_source)
@@ -54,6 +54,6 @@ FIND_PACKAGE(Curses)
IF(CURSES_FOUND)
INCLUDE_DIRECTORIES(${CURSES_INCLUDE_DIR})
ADD_EXECUTABLE(rx_ascii_art_dft rx_ascii_art_dft.cpp)
- TARGET_LINK_LIBRARIES(rx_ascii_art_dft uhd ${CURSES_LIBRARIES})
+ TARGET_LINK_LIBRARIES(rx_ascii_art_dft uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES})
UHD_INSTALL(TARGETS rx_ascii_art_dft RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples)
ENDIF(CURSES_FOUND)
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
index ceeab0050..b04d0e1b9 100644
--- a/host/utils/CMakeLists.txt
+++ b/host/utils/CMakeLists.txt
@@ -31,7 +31,7 @@ SET(util_runtime_sources
FOREACH(util_source ${util_runtime_sources})
GET_FILENAME_COMPONENT(util_name ${util_source} NAME_WE)
ADD_EXECUTABLE(${util_name} ${util_source})
- TARGET_LINK_LIBRARIES(${util_name} uhd)
+ TARGET_LINK_LIBRARIES(${util_name} uhd ${Boost_LIBRARIES})
UHD_INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${RUNTIME_DIR} COMPONENT utilities)
ENDFOREACH(util_source)
@@ -62,7 +62,7 @@ ENDIF(LINUX AND ENABLE_USB)
FOREACH(util_source ${util_share_sources})
GET_FILENAME_COMPONENT(util_name ${util_source} NAME_WE)
ADD_EXECUTABLE(${util_name} ${util_source})
- TARGET_LINK_LIBRARIES(${util_name} uhd)
+ TARGET_LINK_LIBRARIES(${util_name} uhd ${Boost_LIBRARIES})
UHD_INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_LIB_DIR}/utils COMPONENT utilities)
ENDFOREACH(util_source)