diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-10-02 15:41:15 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-10-02 15:41:15 +0400 |
commit | 1a3bb9487d9f23e895c506fd36cab1a5e39ac69b (patch) | |
tree | 2e70e311dab03faf4cbbe32cad86493f340e547a /libmysqld | |
parent | f71e253914bc698cada6002e5138a01a840550a2 (diff) | |
download | mariadb-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 'libmysqld')
-rw-r--r-- | libmysqld/CMakeLists.txt | 1 | ||||
-rw-r--r-- | libmysqld/examples/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt index b9de88cd9b6..de8f9800bab 100644 --- a/libmysqld/CMakeLists.txt +++ b/libmysqld/CMakeLists.txt @@ -22,6 +22,7 @@ ${CMAKE_SOURCE_DIR}/libmysql ${CMAKE_SOURCE_DIR}/libmysqld ${CMAKE_SOURCE_DIR}/sql ${CMAKE_BINARY_DIR}/sql +${CMAKE_BINARY_DIR}/pcre ${CMAKE_SOURCE_DIR}/pcre ${ZLIB_INCLUDE_DIR} ${SSL_INCLUDE_DIRS} diff --git a/libmysqld/examples/CMakeLists.txt b/libmysqld/examples/CMakeLists.txt index e74df56b1a8..cf23fdc4a6a 100644 --- a/libmysqld/examples/CMakeLists.txt +++ b/libmysqld/examples/CMakeLists.txt @@ -15,6 +15,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/libmysqld/include + ${CMAKE_BINARY_DIR}/pcre ${CMAKE_SOURCE_DIR}/pcre ${CMAKE_SOURCE_DIR}/sql ${MY_READLINE_INCLUDE_DIR} |