diff options
author | Andrew Stitcher <astitcher@apache.org> | 2012-10-23 18:15:55 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2012-10-23 18:15:55 +0000 |
commit | 2f61f4fde4b3e600f6934b4dd0b69ac4e339e6c6 (patch) | |
tree | cd726f19c2ac7f4c1b298d0280bb411a0869c578 /qpid/cpp/BuildInstallSettings.cmake | |
parent | a25e790ee4246eb88e027356de34b7174c6946e5 (diff) | |
download | qpid-python-2f61f4fde4b3e600f6934b4dd0b69ac4e339e6c6.tar.gz |
QPID-3633: Make cmake the primary build tool for the cpp tree
- Fix qpid version number so it doesn't contain newline, this causes
a very odd path for documentation
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401373 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/BuildInstallSettings.cmake')
-rw-r--r-- | qpid/cpp/BuildInstallSettings.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/BuildInstallSettings.cmake b/qpid/cpp/BuildInstallSettings.cmake index ef76624d4c..6bd883e754 100644 --- a/qpid/cpp/BuildInstallSettings.cmake +++ b/qpid/cpp/BuildInstallSettings.cmake @@ -31,6 +31,7 @@ else() endif(EXISTS "${PROJECT_SOURCE_DIR}/../QPID_VERSION.txt") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\n" "\\1" QPID_VERSION_MAJOR "${QPID_VERSION}") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\n" "\\2" QPID_VERSION_MINOR "${QPID_VERSION}") +set (QPID_VERSION_FULL "${QPID_VERSION_MAJOR}.${QPID_VERSION_MINOR}") # When doing installs, there are a number of components that the item can # be associated with. Since there may be different sets of components desired @@ -143,7 +144,7 @@ endfunction(set_absolute_install_path) set (LIB_INSTALL_DIR lib CACHE PATH "Library object file directory") set (SYSCONF_INSTALL_DIR etc CACHE PATH "System read only configuration directory") set (SHARE_INSTALL_DIR share CACHE PATH "Shared read only data directory") - set (DOC_INSTALL_DIR ${SHARE_INSTALL_DIR}/doc/${CMAKE_PROJECT_NAME}-${QPID_VERSION} CACHE PATH "Shared read only data directory") + set (DOC_INSTALL_DIR ${SHARE_INSTALL_DIR}/doc/${CMAKE_PROJECT_NAME}-${QPID_VERSION_FULL} CACHE PATH "Shared read only data directory") set (QPID_COMPONENT_BROKER runtime) set (QPID_COMPONENT_CLIENT runtime) |