summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/cluster.cmake
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2011-11-03 14:32:01 +0000
committerAndrew Stitcher <astitcher@apache.org>2011-11-03 14:32:01 +0000
commit063f1124a86299ac774b11cbcfe455fbe9ec0d55 (patch)
tree5e122f976359ed492f84b2b87369633595bcd797 /qpid/cpp/src/cluster.cmake
parent85b266fe8875fd8750f0f7808f2ad840ad249821 (diff)
downloadqpid-python-063f1124a86299ac774b11cbcfe455fbe9ec0d55.tar.gz
QPID-3464: Build Improvements (CMake) [from Jan-Marek Glogowski]
- Improved CMake build significantly bringing it closer in parity to autotools build git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1197146 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/cluster.cmake')
-rw-r--r--qpid/cpp/src/cluster.cmake11
1 files changed, 7 insertions, 4 deletions
diff --git a/qpid/cpp/src/cluster.cmake b/qpid/cpp/src/cluster.cmake
index a389f8f13f..d743942fff 100644
--- a/qpid/cpp/src/cluster.cmake
+++ b/qpid/cpp/src/cluster.cmake
@@ -153,15 +153,18 @@ if (BUILD_CLUSTER)
LINK_FLAGS "-Wl,--no-undefined -pthread")
endif (CMAKE_COMPILER_IS_GNUCXX)
- install (TARGETS cluster
- DESTINATION ${QPIDD_MODULE_DIR}
- COMPONENT ${QPID_COMPONENT_BROKER})
-
add_library (watchdog MODULE qpid/cluster/WatchDogPlugin.cpp)
set_target_properties (watchdog PROPERTIES PREFIX "")
add_executable(qpidd_watchdog qpid/cluster/qpidd_watchdog.cpp)
+ install (TARGETS cluster watchdog
+ DESTINATION ${QPIDD_MODULE_DIR}
+ COMPONENT ${QPID_COMPONENT_BROKER})
+ install (TARGETS qpidd_watchdog
+ DESTINATION ${QPID_LIBEXEC_DIR}
+ COMPONENT ${QPID_COMPONENT_BROKER})
+
endif (BUILD_CLUSTER)
# Distribute all sources.