mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
fix "cmake -DWITH_PCRE=bundled"
after building with system
This commit is contained in:
@@ -5,7 +5,7 @@ MACRO (CHECK_PCRE)
|
|||||||
IF(WITH_PCRE STREQUAL "system" OR WITH_PCRE STREQUAL "auto")
|
IF(WITH_PCRE STREQUAL "system" OR WITH_PCRE STREQUAL "auto")
|
||||||
CHECK_LIBRARY_EXISTS(pcre pcre_stack_guard "" HAVE_PCRE)
|
CHECK_LIBRARY_EXISTS(pcre pcre_stack_guard "" HAVE_PCRE)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(NOT HAVE_PCRE)
|
IF(NOT HAVE_PCRE OR WITH_PCRE STREQUAL "bundled")
|
||||||
IF (WITH_PCRE STREQUAL "system")
|
IF (WITH_PCRE STREQUAL "system")
|
||||||
MESSAGE(FATAL_ERROR "system pcre is not found or unusable")
|
MESSAGE(FATAL_ERROR "system pcre is not found or unusable")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
Reference in New Issue
Block a user