summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-02-17 14:12:05 +0100
committerSergei Golubchik <serg@mariadb.org>2016-02-17 15:11:05 +0100
commit74d86d1d2762b4441b1d68aa8ea636d9d675f8d3 (patch)
treee2de9c8b891cf0aaeaddfc2c873339fa2d4ae9ab /cmake
parent98be6efe06692a47077b269eeb26f6a11c312eeb (diff)
downloadmariadb-git-74d86d1d2762b4441b1d68aa8ea636d9d675f8d3.tar.gz
MYSQL_ADD_PLUGIN: fix DISABLED keyword to work
Diffstat (limited to '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 c1f6b8a0ea1..0a80bbc1434 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -74,7 +74,7 @@ MACRO(MYSQL_ADD_PLUGIN)
SET(WITH_${plugin} 1)
ELSEIF(WITHOUT_${plugin} OR WITHOUT_${plugin}_STORAGE_ENGINE OR
- WITH_NONE OR ${plugin}_DISABLED)
+ WITH_NONE OR ARG_DISABLED)
SET(WITHOUT_${plugin} 1)
SET(WITH_${plugin}_STORAGE_ENGINE 0)
SET(WITH_${plugin} 0)