aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
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/examples
parentdeef51d8a33bde0899152a97df40dfb6635cd567 (diff)
downloaduhd-80045259b53260eeee57e84c34810ea58b39605b.tar.gz
uhd-80045259b53260eeee57e84c34810ea58b39605b.tar.bz2
uhd-80045259b53260eeee57e84c34810ea58b39605b.zip
uhd: explicitly link the apps w/ boost
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/CMakeLists.txt4
1 files changed, 2 insertions, 2 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)