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 | 19bf12cc3fe36396674a6b96f1546323e879153e (patch) | |
| tree | fa8f0cab1605c91be1a5e4382ce14f8544c61a96 /cpp/src/cluster.cmake | |
| parent | 00588ef1ccfc963ceae751b46659ad111c879c05 (diff) | |
| download | qpid-python-19bf12cc3fe36396674a6b96f1546323e879153e.tar.gz | |
Make cluster/ssl/rdma/xml modules install correctly
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881170 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/cluster.cmake')
| -rw-r--r-- | cpp/src/cluster.cmake | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/cpp/src/cluster.cmake b/cpp/src/cluster.cmake index 31d8b07208..1f4815fc9d 100644 --- a/cpp/src/cluster.cmake +++ b/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. |
