summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/messaging
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
commit1fdfd9b2acf01699e8fb7ac7b08c1f532587b1a8 (patch)
tree5f94d3cfff3cdf5d16e54139bd595afc3f1a375e /qpid/cpp/examples/messaging
parentbec603bc053e95788c8936d9a17253bced049920 (diff)
downloadqpid-python-1fdfd9b2acf01699e8fb7ac7b08c1f532587b1a8.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@1519866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/messaging')
-rw-r--r--qpid/cpp/examples/messaging/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/messaging/CMakeLists.txt b/qpid/cpp/examples/messaging/CMakeLists.txt
index 25651e525b..6b2a06ae3a 100644
--- a/qpid/cpp/examples/messaging/CMakeLists.txt
+++ b/qpid/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