summaryrefslogtreecommitdiff
path: root/cmake
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 /cmake
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 'cmake')
-rw-r--r--cmake/plugin.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 2bcf0342696..110a49167d3 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -54,6 +54,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
${SSL_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIR})