diff --git a/CMakeLists.txt b/CMakeLists.txt index 6accbe49df..57913fcd95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,7 +72,7 @@ endif() macro(plugin_option optionVariableName displayName defaultEnabled defaultPlugin) option(WITH_${optionVariableName} "Build ${displayName}" ${defaultEnabled}) - option(WITH_${optionVariableName}_PLUGIN "Build ${displayName} as a plugin" ${defaultPlugin} AND WITH_${optionVariableName}) + option(WITH_${optionVariableName}_PLUGIN "Build ${displayName} as a plugin" ${defaultPlugin}) endmacro() macro(plugin_compilation_info optionVariableName detectionVariable displayName)