summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-09-23 09:37:18 +0400
committerAlexander Barkov <bar@mariadb.org>2017-09-23 09:37:18 +0400
commit41da3ca9cc4ccebd2a8b8e387a8c7eb139105796 (patch)
tree33167929257604a758636499cb49e91ee4e7031a /cmake
parent4e1e5a32668bc717e0049961e789dd29883cc66c (diff)
parentb652430f0094e2baa475b6ea3a3d87da24202f76 (diff)
downloadmariadb-git-41da3ca9cc4ccebd2a8b8e387a8c7eb139105796.tar.gz
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
Diffstat (limited to 'cmake')
-rw-r--r--cmake/make_dist.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/make_dist.cmake.in b/cmake/make_dist.cmake.in
index 3cc93d10fb8..6bd71cc7653 100644
--- a/cmake/make_dist.cmake.in
+++ b/cmake/make_dist.cmake.in
@@ -52,6 +52,9 @@ IF(GIT_EXECUTABLE)
ENDIF()
ENDIF()
+CONFIGURE_FILE(${CMAKE_BINARY_DIR}/include/source_revision.h
+ ${PACKAGE_DIR}/include/source_revision.h COPYONLY)
+
IF(NOT GIT_EXECUTABLE)
MESSAGE(STATUS "git not found or source dir is not a repo, use CPack")