mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
CMake remember decision to bundle WITH_PCRE, avoid repeated system checks
This commit is contained in:
parent
c482e71eba
commit
a94d2a6888
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ SET(WITH_PCRE "auto" CACHE STRING
|
|||
"Which pcre to use (possible values are 'bundled', 'system', or 'auto')")
|
||||
|
||||
MACRO(BUNDLE_PCRE2)
|
||||
SET(WITH_PCRE "bundled" CACHE STRING
|
||||
"Which pcre to use (possible values are 'bundled', 'system', or 'auto')")
|
||||
|
||||
SET(dir "${CMAKE_BINARY_DIR}/extra/pcre2")
|
||||
SET(PCRE_INCLUDE_DIRS ${dir}/src/pcre2-build ${dir}/src/pcre2/src)
|
||||
MESSAGE(STATUS "Will download and bundle pcre2")
|
||||
|
|
Loading…
Reference in a new issue