summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/cluster.cmake
diff options
context:
space:
mode:
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.