diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh index f337294..e53e9cc 100755 --- a/contrib/guix/libexec/build.sh +++ b/contrib/guix/libexec/build.sh @@ -281,7 +281,7 @@ mkdir -p "$DISTSRC" # Set appropriate CMake options for build type - CMAKEVARS="-DWITH_SCANNER=On -DCHECK_UPDATES=On -DSELF_CONTAINED=On -DDONATE_BEG=On -DFEATHER_TARGET_TRIPLET=${HOST}" + CMAKEVARS="-DWITH_SCANNER=On -DCHECK_UPDATES=On -DSELF_CONTAINED=On -DDONATE_BEG=On -DFEATHER_TARGET_TRIPLET=${HOST} -DWITH_PLUGIN_REDDIT=Off" ANONDIST="" case "$HOST" in *mingw32) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 07b1710..ae06ddb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -79,7 +79,7 @@ set(PLUGIN_PREFIX "WITH_PLUGIN_") foreach (_var ${_vars}) string(REGEX MATCH "^${PLUGIN_PREFIX}" _isPlugin ${_var}) - if (NOT _var) + if (NOT ${_var}) continue() endif()