summaryrefslogtreecommitdiff
path: root/cpp/examples
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-09-03 22:09:17 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-09-03 22:09:17 +0000
commit38b177680793ae87a66d7fa6ed8d9c34ea3e1bcd (patch)
tree763f087b6142078c4e2ba86bf550e28eba9106fa /cpp/examples
parent9850ccbcf9e29e62fb9df3f87f361aa9c57169a2 (diff)
downloadqpid-python-38b177680793ae87a66d7fa6ed8d9c34ea3e1bcd.tar.gz
QPID-5111: Make library dependencies clearer in build system
- Use -as-needed to link libraries to avoid unnecessary libraries - Tidyup mess with nss and qpid-proton libraries git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1519866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples')
-rw-r--r--cpp/examples/messaging/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/messaging/CMakeLists.txt b/cpp/examples/messaging/CMakeLists.txt
index 25651e525b..6b2a06ae3a 100644
--- a/cpp/examples/messaging/CMakeLists.txt
+++ b/cpp/examples/messaging/CMakeLists.txt
@@ -23,7 +23,7 @@
macro(add_messaging_example example)
add_executable(${example} ${example}.cpp OptionParser.cpp)
set_target_properties(${example} PROPERTIES OUTPUT_NAME ${example})
- target_link_libraries(${example} qpidmessaging ${_boost_libs_needed})
+ target_link_libraries(${example} qpidmessaging qpidtypes ${_boost_libs_needed})
# For installs, don't install the built example; that would be pointless.
# Install the things a user needs to build the example on-site.
install (FILES