summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2022-01-09 23:52:24 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2022-01-09 23:52:24 +0100
commitc62bb9c3b40decdcd3d2cdbff6616107e9434e33 (patch)
treedacf14e092e39f554286608b7bdcd9526d267fa4
parent4c3ad24413f234599eda27f4958dd3ff21df3203 (diff)
downloadmariadb-git-c62bb9c3b40decdcd3d2cdbff6616107e9434e33.tar.gz
Silence CMake warning from exteral cmake project (pcre2)st-10.5-wlad
The warning reads: CMake Deprecation Warning at CMakeLists.txt:101 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
-rw-r--r--cmake/pcre.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/pcre.cmake b/cmake/pcre.cmake
index 42f22d9fe19..678556c9a59 100644
--- a/cmake/pcre.cmake
+++ b/cmake/pcre.cmake
@@ -48,6 +48,7 @@ MACRO(BUNDLE_PCRE2)
URL_MD5 8c1699a725d4b28410adf4b964ebbcb7
INSTALL_COMMAND ""
CMAKE_ARGS
+ "-DCMAKE_WARN_DEPRECATED=FALSE"
"-DPCRE2_BUILD_TESTS=OFF"
"-DPCRE2_BUILD_PCRE2GREP=OFF"
"-DBUILD_SHARED_LIBS=OFF"