summaryrefslogtreecommitdiff
path: root/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
commita68d12beaff7bccff4bc8c8833ce9fac1c3ec6e4 (patch)
treec8d30f06a378c648ee99d193cdfc05e1e3c69434 /cpp/src/cluster.cmake
parentfa7568b96308ac17374285c0c65de522a91ccf0e (diff)
downloadqpid-python-a68d12beaff7bccff4bc8c8833ce9fac1c3ec6e4.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/qpid@1197146 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/cluster.cmake')
-rw-r--r--cpp/src/cluster.cmake11
1 files changed, 7 insertions, 4 deletions
diff --git a/cpp/src/cluster.cmake b/cpp/src/cluster.cmake
index a389f8f13f..d743942fff 100644
--- a/cpp/src/cluster.cmake
+++ b/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.