summaryrefslogtreecommitdiff
path: root/plugin/qc_info
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2013-10-02 15:41:15 +0400
committerAlexander Barkov <bar@mnogosearch.org>2013-10-02 15:41:15 +0400
commit1a3bb9487d9f23e895c506fd36cab1a5e39ac69b (patch)
tree2e70e311dab03faf4cbbe32cad86493f340e547a /plugin/qc_info
parentf71e253914bc698cada6002e5138a01a840550a2 (diff)
downloadmariadb-git-1a3bb9487d9f23e895c506fd36cab1a5e39ac69b.tar.gz
A follow-up for the previous commit:
MDEV-4425 Regexp enhancements Adding ${CMAKE_BINARY_DIR}/pcre into search path for *.h files. Needed for find pcre.h (which is generated from pcre.h.in) when build directory != source directory.
Diffstat (limited to 'plugin/qc_info')
-rw-r--r--plugin/qc_info/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/qc_info/CMakeLists.txt b/plugin/qc_info/CMakeLists.txt
index d26782c8a18..ca59130b072 100644
--- a/plugin/qc_info/CMakeLists.txt
+++ b/plugin/qc_info/CMakeLists.txt
@@ -1,4 +1,6 @@
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql ${CMAKE_SOURCE_DIR}/pcre
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql
+ ${CMAKE_BINARY_DIR}/pcre
+ ${CMAKE_SOURCE_DIR}/pcre
${CMAKE_SOURCE_DIR}/extra/yassl/include)
MYSQL_ADD_PLUGIN(QUERY_CACHE_INFO qc_info.cc)