summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-07-26 21:32:44 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-07-26 21:32:44 +0000
commit829b53786a6786b05b5baee274337f3fdf988c6c (patch)
treea4bf01804d3d141d2327f4eb24729be4c2c28b5a /qpid/cpp/src/CMakeLists.txt
parentbd5988effd007642ac56cb14ad7e980b78f249bd (diff)
downloadqpid-python-829b53786a6786b05b5baee274337f3fdf988c6c.tar.gz
QPID-4942: Only install include files that are used by the supported API
- Since we removed a whole lot of old API code we can drastically cut down on the header files that we export. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507469 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/CMakeLists.txt')
-rw-r--r--qpid/cpp/src/CMakeLists.txt13
1 files changed, 2 insertions, 11 deletions
diff --git a/qpid/cpp/src/CMakeLists.txt b/qpid/cpp/src/CMakeLists.txt
index 6869d6aeee..3b242d627f 100644
--- a/qpid/cpp/src/CMakeLists.txt
+++ b/qpid/cpp/src/CMakeLists.txt
@@ -1205,23 +1205,14 @@ add_msvc_version (qpidmessaging library dll)
add_library (qpidmessaging SHARED ${qpidmessaging_SOURCES})
target_link_libraries (qpidmessaging qpidclient)
-set_target_properties (qpidmessaging PROPERTIES
- VERSION ${qpidmessaging_version}
+set_target_properties (qpidmessaging PROPERTIES
+ VERSION ${qpidmessaging_version}
SOVERSION ${qpidmessaging_version_major})
install (TARGETS qpidmessaging
DESTINATION ${QPID_INSTALL_LIBDIR}
COMPONENT ${QPID_COMPONENT_CLIENT})
install_pdb (qpidmessaging ${QPID_COMPONENT_CLIENT})
-# Released source artifacts from Apache have the generated headers included in
-# the source tree, not the binary tree. So don't attempt to grab them when
-# they're not supposed to be there.
-if (NOT QPID_GENERATED_HEADERS_IN_SOURCE)
- install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../include/qpid
- DESTINATION ${QPID_INSTALL_INCLUDEDIR}
- COMPONENT ${QPID_COMPONENT_CLIENT_INCLUDE})
-endif (NOT QPID_GENERATED_HEADERS_IN_SOURCE)
-
if (MSVC)
# Install the DtcPlugin project and call it qpidxarm.