[Commits] 73c07803cb2: Add wsrep-lib to source distribution.
revision-id: 73c07803cb21f6818c675264faf705b53a2a1fc8 (mariadb-10.3.6-180-g73c07803cb2) parent(s): a72d32f18de7f236a50dd6c63b538d6bae743cac author: Jan Lindström committer: Jan Lindström timestamp: 2018-11-01 12:07:29 +0200 message: Add wsrep-lib to source distribution. --- cmake/make_dist.cmake.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmake/make_dist.cmake.in b/cmake/make_dist.cmake.in index 6fad17137fd..8e77b700eb7 100644 --- a/cmake/make_dist.cmake.in +++ b/cmake/make_dist.cmake.in @@ -50,6 +50,14 @@ IF(GIT_EXECUTABLE) IF(NOT RESULT EQUAL 0) SET(GIT_EXECUTABLE) ENDIF() + EXECUTE_PROCESS( + COMMAND "${GIT_EXECUTABLE}" submodule foreach "${GIT_EXECUTABLE} checkout-index --all --prefix=${PACKAGE_DIR}/wsrep-lib/$path/" + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/wsrep-lib + RESULT_VARIABLE RESULT + ) + IF(NOT RESULT EQUAL 0) + SET(GIT_EXECUTABLE) + ENDIF() ENDIF() CONFIGURE_FILE(${CMAKE_BINARY_DIR}/include/source_revision.h
participants (1)
-
jan