diff options
author | Andrew Hutchings <andrew@linuxjedi.co.uk> | 2019-11-27 14:34:14 +0000 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2020-06-19 21:04:17 +0200 |
commit | 793dcc7368b1a45b0d3d103ed13bf65effe87847 (patch) | |
tree | 01fa6e509ce2d27131ce498d409cd6d64a4ff975 /cmake/make_dist.cmake.in | |
parent | 4e16e4fc01921f40d44612b6cad41ae5d45cb502 (diff) | |
download | mariadb-git-793dcc7368b1a45b0d3d103ed13bf65effe87847.tar.gz |
Add stub for building ColumnStore
Diffstat (limited to 'cmake/make_dist.cmake.in')
-rw-r--r-- | cmake/make_dist.cmake.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/make_dist.cmake.in b/cmake/make_dist.cmake.in index f471c6e53d0..941b64c811f 100644 --- a/cmake/make_dist.cmake.in +++ b/cmake/make_dist.cmake.in @@ -58,6 +58,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}/storage/columnstore/columnstore/$path/" + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/storage/columnstore/columnstore + RESULT_VARIABLE RESULT + ) + IF(NOT RESULT EQUAL 0) + SET(GIT_EXECUTABLE) + ENDIF() ENDIF() CONFIGURE_FILE(${CMAKE_BINARY_DIR}/include/source_revision.h |