diff options
author | karel- <karelparlin@gmail.com> | 2018-06-11 17:35:31 +0300 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-06-25 20:40:35 +0200 |
commit | adaa7a265eef17d3b2f9a991e944fe20677b069b (patch) | |
tree | f52490f8ec707d2d8016d36ea056c7ded5e92b2b /gr-uhd/examples/c++ | |
parent | 6f2e347a6a304c7b809e502fc04b28dbaab45b6e (diff) |
Fix Boost 1.67 linking issues
Fixes "undefined reference to `pthread_condattr_setclock'"
Diffstat (limited to 'gr-uhd/examples/c++')
-rw-r--r-- | gr-uhd/examples/c++/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-uhd/examples/c++/CMakeLists.txt b/gr-uhd/examples/c++/CMakeLists.txt index 655ef0c0a9..d221f90808 100644 --- a/gr-uhd/examples/c++/CMakeLists.txt +++ b/gr-uhd/examples/c++/CMakeLists.txt @@ -35,7 +35,7 @@ link_directories(${Boost_LIBRARY_DIRS}) # Build executable ######################################################################## add_executable(tags_demo tags_demo.cc) -target_link_libraries(tags_demo gnuradio-uhd) +target_link_libraries(tags_demo gnuradio-uhd ${CMAKE_THREAD_LIBS_INIT}) INSTALL(TARGETS tags_demo |