summaryrefslogtreecommitdiff
path: root/cpp/bindings
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/bindings
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/bindings')
-rw-r--r--cpp/bindings/qmf2/examples/cpp/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt b/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt
index 884e614c0f..0e1e00d34e 100644
--- a/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt
+++ b/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt
@@ -57,10 +57,10 @@ macro(add_example subdir example)
add_executable(${subdir}_${example} ${example}.cpp)
set_target_properties(${subdir}_${example} PROPERTIES OUTPUT_NAME ${example})
if (${ARGC} GREATER 2)
- target_link_libraries(${subdir}_${example} ${ARGN} qpidclient
+ target_link_libraries(${subdir}_${example} ${ARGN} qpidmessaging qpidtypes
${_boost_libs_needed})
else (${ARGC} GREATER 2)
- target_link_libraries(${subdir}_${example} qpidclient
+ target_link_libraries(${subdir}_${example} qpidmessaging qpidtypes
${_boost_libs_needed})
endif (${ARGC} GREATER 2)
endmacro(add_example)