Fix CMakeLists.txt for cmake Ninja generator

This commit is contained in:
Sergei Golubchik 2014-06-17 17:57:18 +02:00
commit fb8818c1af
3 changed files with 3 additions and 3 deletions

View file

@ -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