Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / sql / mariadb / patch / cmake-plugin-includedir.patch
blobd2a4535f7ba9497202dd915ca512b7400986c7fc
1 diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
2 index 31291d26..fad52814 100644
3 --- a/cmake/plugin.cmake
4 +++ b/cmake/plugin.cmake
5 @@ -34,6 +34,11 @@ MACRO(MYSQL_ADD_PLUGIN)
6 "LINK_LIBRARIES;DEPENDENCIES"
7 ${ARGN}
10 + IF(WITHOUT_SERVER OR ARG_CLIENT)
11 + INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
12 + ENDIF()
14 IF(NOT WITHOUT_SERVER OR ARG_CLIENT)
16 # Add common include directories