summaryrefslogtreecommitdiff
path: root/extra/mariabackup/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mariabackup/CMakeLists.txt')
-rw-r--r--extra/mariabackup/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/mariabackup/CMakeLists.txt b/extra/mariabackup/CMakeLists.txt
index 71d97886b3f..1649676e468 100644
--- a/extra/mariabackup/CMakeLists.txt
+++ b/extra/mariabackup/CMakeLists.txt
@@ -37,7 +37,7 @@ INCLUDE_DIRECTORIES(
)
IF(NOT HAVE_SYSTEM_REGEX)
- INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/pcre)
+ INCLUDE_DIRECTORIES(${PCRE_INCLUDES})
ENDIF()
@@ -91,7 +91,7 @@ ADD_SUBDIRECTORY(crc)
TARGET_LINK_LIBRARIES(mariabackup sql sql_builtins crc)
IF(NOT HAVE_SYSTEM_REGEX)
- TARGET_LINK_LIBRARIES(mariabackup pcreposix)
+ TARGET_LINK_LIBRARIES(mariabackup pcre2-posix)
ENDIF()