summaryrefslogtreecommitdiff
path: root/plugin
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 /plugin
parent8705d00ab62b4d3f749b4b8cba07718e8fd54bcb (diff)
downloadmariadb-git-016bd4fc5fff311dc4091b3b7329cd980dbaa14b.tar.gz
MDEV-5620 CMake option to compile against an external PCRE library
Diffstat (limited to 'plugin')
-rw-r--r--plugin/feedback/CMakeLists.txt3
-rw-r--r--plugin/qc_info/CMakeLists.txt3
2 files changed, 2 insertions, 4 deletions
diff --git a/plugin/feedback/CMakeLists.txt b/plugin/feedback/CMakeLists.txt
index 919324fb63b..9807eadbe34 100644
--- a/plugin/feedback/CMakeLists.txt
+++ b/plugin/feedback/CMakeLists.txt
@@ -1,6 +1,5 @@
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${SSL_INCLUDE_DIRS})
SET(FEEDBACK_SOURCES feedback.cc sender_thread.cc
diff --git a/plugin/qc_info/CMakeLists.txt b/plugin/qc_info/CMakeLists.txt
index ca59130b072..d10f4547227 100644
--- a/plugin/qc_info/CMakeLists.txt
+++ b/plugin/qc_info/CMakeLists.txt
@@ -1,6 +1,5 @@
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql
- ${CMAKE_BINARY_DIR}/pcre
- ${CMAKE_SOURCE_DIR}/pcre
+ ${PCRE_INCLUDES}
${CMAKE_SOURCE_DIR}/extra/yassl/include)
MYSQL_ADD_PLUGIN(QUERY_CACHE_INFO qc_info.cc)