summaryrefslogtreecommitdiff
path: root/cmake/plugin.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-06-17 17:57:18 +0200
committerSergei Golubchik <serg@mariadb.org>2014-06-20 09:03:47 +0200
commitfb8818c1aff9ce67b74f965c019cad93addd811e (patch)
tree651c36bae9ba0a4f863c05cc78d598c7c9330097 /cmake/plugin.cmake
parentdc64ba2187fa97d74ee465dd3ca234761b1be7c5 (diff)
downloadmariadb-git-fb8818c1aff9ce67b74f965c019cad93addd811e.tar.gz
Fix CMakeLists.txt for cmake Ninja generator
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r--cmake/plugin.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 6f3dec4619a..87552fe4d67 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -108,7 +108,7 @@ MACRO(MYSQL_ADD_PLUGIN)
# Build either static library or module
IF (WITH_${plugin} AND NOT ARG_MODULE_ONLY)
- IF(CMAKE_GENERATOR MATCHES "Makefiles")
+ IF(CMAKE_GENERATOR MATCHES "Makefiles|Ninja")
# If there is a shared library from previous shared build,
# remove it. This is done just for mysql-test-run.pl
# so it does not try to use stale shared lib as plugin