From 85995048882d47fc7187d4b167ca581ec0f33ab9 Mon Sep 17 00:00:00 2001 From: "Charles E. Rolke" Date: Fri, 10 Oct 2014 17:51:23 +0000 Subject: QPID-6140: [C++ Messaging] hello_world does not define Messaging i/f completely Add qpidtypes to hello_world and hello_xml example link library list so that users can execute any Messaging function straight away. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1630945 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/examples/messaging/CMakeLists.txt | 4 ++-- qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'qpid/cpp/examples/messaging') diff --git a/qpid/cpp/examples/messaging/CMakeLists.txt b/qpid/cpp/examples/messaging/CMakeLists.txt index 5481f2f0bf..40f9412189 100644 --- a/qpid/cpp/examples/messaging/CMakeLists.txt +++ b/qpid/cpp/examples/messaging/CMakeLists.txt @@ -54,14 +54,14 @@ add_messaging_example(server_reconnect) # These don't need Boost or OptionParser add_executable(hello_world hello_world.cpp) set_target_properties(hello_world PROPERTIES OUTPUT_NAME hello_world) -target_link_libraries(hello_world qpidmessaging) +target_link_libraries(hello_world qpidmessaging qpidtypes) install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/hello_world.cpp DESTINATION ${QPID_INSTALL_EXAMPLESDIR}/messaging COMPONENT ${QPID_COMPONENT_EXAMPLES}) add_executable(hello_xml hello_xml.cpp) set_target_properties(hello_xml PROPERTIES OUTPUT_NAME hello_xml) -target_link_libraries(hello_xml qpidmessaging) +target_link_libraries(hello_xml qpidmessaging qpidtypes) install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/extra_dist/CMakeLists.txt diff --git a/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt b/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt index 88df55337c..be44adaedb 100644 --- a/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt +++ b/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt @@ -55,8 +55,8 @@ add_messaging_example(server) # These don't need Boost or OptionParser add_executable(hello_world hello_world.cpp) set_target_properties(hello_world PROPERTIES OUTPUT_NAME hello_world) -target_link_libraries(hello_world qpidmessaging) +target_link_libraries(hello_world qpidmessaging qpidtypes) add_executable(hello_xml hello_xml.cpp) set_target_properties(hello_xml PROPERTIES OUTPUT_NAME hello_xml) -target_link_libraries(hello_xml qpidmessaging) +target_link_libraries(hello_xml qpidmessaging qpidtypes) -- cgit v1.2.1