diff options
author | Izorkin <izorkin@elven.pw> | 2019-05-19 15:15:32 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2019-06-04 19:02:16 +0300 |
commit | a3da901ec7df21ff7dd1a72ed056efe26ce5d5db (patch) | |
tree | c6d641428097b3df508fc8ace27632edf7146a98 /pkgs/servers/sql/mariadb/cmake-plugin-includedir.patch | |
parent | c9d2d2fa824a7f02800e3eb490272596e7333970 (diff) |
mariadb: 10.2.17 -> 10.3.15
Diffstat (limited to 'pkgs/servers/sql/mariadb/cmake-plugin-includedir.patch')
-rw-r--r-- | pkgs/servers/sql/mariadb/cmake-plugin-includedir.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/servers/sql/mariadb/cmake-plugin-includedir.patch b/pkgs/servers/sql/mariadb/cmake-plugin-includedir.patch new file mode 100644 index 000000000000..d2a4535f7ba9 --- /dev/null +++ b/pkgs/servers/sql/mariadb/cmake-plugin-includedir.patch @@ -0,0 +1,16 @@ +diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake +index 31291d26..fad52814 100644 +--- a/cmake/plugin.cmake ++++ b/cmake/plugin.cmake +@@ -34,6 +34,11 @@ MACRO(MYSQL_ADD_PLUGIN) + "LINK_LIBRARIES;DEPENDENCIES" + ${ARGN} + ) ++ ++ IF(WITHOUT_SERVER OR ARG_CLIENT) ++ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) ++ ENDIF() ++ + IF(NOT WITHOUT_SERVER OR ARG_CLIENT) + + # Add common include directories |