From 3b7bd0a1490f574288fc9a02617a19cf238254e0 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sun, 10 Aug 2014 19:50:23 +0000 Subject: Fix problems with missing libs when the linker enforces explicit linking (a* to d* categories) PR: 192062 --- comms/usrp/files/patch-host_examples_CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 comms/usrp/files/patch-host_examples_CMakeLists.txt (limited to 'comms/usrp') diff --git a/comms/usrp/files/patch-host_examples_CMakeLists.txt b/comms/usrp/files/patch-host_examples_CMakeLists.txt new file mode 100644 index 000000000000..edb9accee47d --- /dev/null +++ b/comms/usrp/files/patch-host_examples_CMakeLists.txt @@ -0,0 +1,10 @@ +--- host/examples/CMakeLists.txt.orig ++++ host/examples/CMakeLists.txt +@@ -41,6 +41,7 @@ + TARGET_LINK_LIBRARIES(${example_name} uhd) + INSTALL(TARGETS ${example_name} RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples) + ENDFOREACH(example_source) ++TARGET_LINK_LIBRARIES(network_relay -pthread) + + ######################################################################## + # ASCII Art DFT - requires curses, so this part is optional -- cgit v1.2.3