diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2009-11-17 06:42:13 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2009-11-17 06:42:13 +0000 |
| commit | 064b8eb7b6b830826b77a2dec157c11ef7d98133 (patch) | |
| tree | c3c3797b369890bd9363bb7c2651cadc43891421 /qpid/cpp/src/cluster.cmake | |
| parent | 4304885fe72c6299ccda02e60919fe98b2cdbe6e (diff) | |
| download | qpid-python-064b8eb7b6b830826b77a2dec157c11ef7d98133.tar.gz | |
Make cluster/ssl/rdma/xml modules install correctly
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881170 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/cluster.cmake')
| -rw-r--r-- | qpid/cpp/src/cluster.cmake | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/qpid/cpp/src/cluster.cmake b/qpid/cpp/src/cluster.cmake index 31d8b07208..1f4815fc9d 100644 --- a/qpid/cpp/src/cluster.cmake +++ b/qpid/cpp/src/cluster.cmake @@ -122,10 +122,19 @@ if (BUILD_CLUSTER) add_library (cluster MODULE ${cluster_SOURCES}) target_link_libraries (cluster ${LIBCPG} ${CMAN_LIB} qpidbroker qpidclient) -#cluster_la_LDFLAGS = $(PLUGINLDFLAGS) + set_target_properties (cluster PROPERTIES PREFIX "") + if (CMAKE_COMPILER_IS_GNUCXX) + set_target_properties(cluster PROPERTIES + LINK_FLAGS -Wl,--no-undefined) + endif (CMAKE_COMPILER_IS_GNUCXX) + + install (TARGETS cluster + DESTINATION ${QPIDD_MODULE_DIR} + COMPONENT ${QPID_COMPONENT_BROKER}) + endif (BUILD_CLUSTER) # Distribute all sources. |
