summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-05-29 22:21:19 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-05-29 22:21:19 +0300
commite9aaa10c116370ca581bd1b6f7cc360b43938674 (patch)
tree49620196fc57cba1180ffee48695618ec1a36417 /cmake
parent19da9a51ae174785806c87bcc8fa47406af9ed96 (diff)
parent38ea795bb622cce6f7178291ed737ca7396a124a (diff)
downloadmariadb-git-e9aaa10c116370ca581bd1b6f7cc360b43938674.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'cmake')
-rw-r--r--cmake/build_configurations/mysql_release.cmake3
-rw-r--r--cmake/cpack_source_ignore_files.cmake1
-rw-r--r--cmake/submodules.cmake4
3 files changed, 5 insertions, 3 deletions
diff --git a/cmake/build_configurations/mysql_release.cmake b/cmake/build_configurations/mysql_release.cmake
index f77907481a4..734282ed56e 100644
--- a/cmake/build_configurations/mysql_release.cmake
+++ b/cmake/build_configurations/mysql_release.cmake
@@ -104,6 +104,7 @@ ELSEIF(DEB)
SET(HAVE_EMBEDDED_PRIVILEGE_CONTROL ON)
ELSE()
SET(WITH_SSL bundled CACHE STRING "")
+ SET(WITH_PCRE bundled CACHE STRING "")
SET(WITH_ZLIB bundled CACHE STRING "")
SET(WITH_JEMALLOC static CACHE STRING "")
ENDIF()
@@ -138,7 +139,7 @@ IF(UNIX)
RedHat/Fedora/Oracle Linux: yum install libaio-devel
SuSE: zypper install libaio-devel
- If you really do not want it, pass -DIGNORE_AIO_CHECK to cmake.
+ If you really do not want it, pass -DIGNORE_AIO_CHECK=ON to cmake.
")
ENDIF()
diff --git a/cmake/cpack_source_ignore_files.cmake b/cmake/cpack_source_ignore_files.cmake
index 5b103501a99..eb1ec191d17 100644
--- a/cmake/cpack_source_ignore_files.cmake
+++ b/cmake/cpack_source_ignore_files.cmake
@@ -15,6 +15,7 @@
SET(CPACK_SOURCE_IGNORE_FILES
\\\\.git/
+\\\\.git$
\\\\.gitignore$
\\\\.gitattributes$
CMakeCache\\\\.txt$
diff --git a/cmake/submodules.cmake b/cmake/submodules.cmake
index 34d1f37c956..6e039bfeae3 100644
--- a/cmake/submodules.cmake
+++ b/cmake/submodules.cmake
@@ -19,11 +19,11 @@ IF(GIT_EXECUTABLE AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
SET(update_result 0)
ELSEIF (cmake_update_submodules MATCHES force)
MESSAGE(STATUS "Updating submodules (forced)")
- EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init --force
+ EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init --force --depth=1
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
RESULT_VARIABLE update_result)
ELSEIF (cmake_update_submodules MATCHES yes)
- EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init
+ EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init --depth=1
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
RESULT_VARIABLE update_result)
ELSE()