summaryrefslogtreecommitdiff
path: root/cmake/plugin.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-03-04 01:22:53 +0100
committerSergei Golubchik <sergii@pisem.net>2014-03-04 01:22:53 +0100
commit016bd4fc5fff311dc4091b3b7329cd980dbaa14b (patch)
tree4d208f3494087c6bc289a911336580e3d6d91e34 /cmake/plugin.cmake
parent8705d00ab62b4d3f749b4b8cba07718e8fd54bcb (diff)
downloadmariadb-git-016bd4fc5fff311dc4091b3b7329cd980dbaa14b.tar.gz
MDEV-5620 CMake option to compile against an external PCRE library
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r--cmake/plugin.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index d0847f1f84e..07372849a10 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -37,8 +37,7 @@ MACRO(MYSQL_ADD_PLUGIN)
# Add common include directories
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/sql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${SSL_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIR})