mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
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.
This commit is contained in:
parent
f71e253914
commit
1a3bb9487d
10 changed files with 14 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
|||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CMAKE_SOURCE_DIR}/include
|
||||
${CMAKE_BINARY_DIR}/pcre
|
||||
${CMAKE_SOURCE_DIR}/pcre
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${SSL_INCLUDE_DIRS}
|
||||
|
|
|
@ -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})
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
INCLUDE_DIRECTORIES(
|
||||
${CMAKE_SOURCE_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/libmysql
|
||||
${CMAKE_BINARY_DIR}/pcre
|
||||
${CMAKE_SOURCE_DIR}/pcre
|
||||
${CMAKE_SOURCE_DIR}/strings
|
||||
${SSL_INCLUDE_DIRS}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
${SSL_INCLUDE_DIRS})
|
||||
|
||||
SET(FEEDBACK_SOURCES feedback.cc sender_thread.cc
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/sql
|
||||
${CMAKE_BINARY_DIR}/pcre
|
||||
${CMAKE_SOURCE_DIR}/pcre
|
||||
${CMAKE_SOURCE_DIR}/extra/yassl/include)
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/include/mysql
|
||||
${CMAKE_BINARY_DIR}/pcre
|
||||
${CMAKE_SOURCE_DIR}/pcre
|
||||
${CMAKE_SOURCE_DIR}/sql
|
||||
${CMAKE_SOURCE_DIR}/extra/yassl/include
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql
|
||||
${CMAKE_BINARY_DIR}/pcre
|
||||
${CMAKE_SOURCE_DIR}/pcre
|
||||
${CMAKE_SOURCE_DIR}/extra/yassl/include)
|
||||
|
||||
|
|
Loading…
Reference in a new issue