diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-01-04 23:04:37 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-01-06 16:25:25 +0100 |
commit | ae6eb7a0020eb4d51f97f924e5320325e5b63934 (patch) | |
tree | 86eaa0f741228ed5aa4d9567870970d6b22dc2dd /sql/CMakeLists.txt | |
parent | e4978d26b79120c58706e57fc66e4de1ec4b230c (diff) | |
download | mariadb-git-ae6eb7a0020eb4d51f97f924e5320325e5b63934.tar.gz |
MDEV-11088 Client plugins cannot be loaded by command line tools
in default installation.
Added plugin-dir to the [client] section of the generated my.ini,
so that installed services (MSI or mysql_install_db.exe) would be able to
find plugin directory.
Diffstat (limited to 'sql/CMakeLists.txt')
-rw-r--r-- | sql/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt index 88ec26eb6f6..652664fa438 100644 --- a/sql/CMakeLists.txt +++ b/sql/CMakeLists.txt @@ -387,6 +387,7 @@ IF(WIN32) ${CMAKE_CURRENT_BINARY_DIR}/mysql_bootstrap_sql.c COMPONENT Server ) + SET_TARGET_PROPERTIES(mysql_install_db PROPERTIES COMPILE_FLAGS -DINSTALL_PLUGINDIR=${INSTALL_PLUGINDIR}) TARGET_LINK_LIBRARIES(mysql_install_db mysys) ADD_LIBRARY(winservice STATIC winservice.c) |