diff options
Diffstat (limited to 'qpid/cpp/examples')
| -rw-r--r-- | qpid/cpp/examples/messaging/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
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) |
