summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-03-17 19:16:36 +0000
committerAlan Conway <aconway@apache.org>2010-03-17 19:16:36 +0000
commit0b87e564b668dc4e287f7cf57a97d1bcd555be50 (patch)
tree36597db4aa842f5ef4f37e58f2977b672766bc3e /qpid/cpp/src/CMakeLists.txt
parent83fc4edb85d000c2bd33fd4d9bab4c23aac20302 (diff)
downloadqpid-python-0b87e564b668dc4e287f7cf57a97d1bcd555be50.tar.gz
Updated cmake build to pick up version from QPID_VERSION.txt.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@924425 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/CMakeLists.txt')
-rw-r--r--qpid/cpp/src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/src/CMakeLists.txt b/qpid/cpp/src/CMakeLists.txt
index 1ebfa9e3ca..e1681ab961 100644
--- a/qpid/cpp/src/CMakeLists.txt
+++ b/qpid/cpp/src/CMakeLists.txt
@@ -950,6 +950,9 @@ add_definitions(-DHAVE_CONFIG_H)
# Now create the config file from all the info learned above.
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/config.h)
+# And create the Version.h file.
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/qpid/Version.h.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/qpid/Version.h)
add_subdirectory(qpid/store)
add_subdirectory(tests)