build: disable reddit plugin

This commit is contained in:
tobtoht 2024-02-27 19:29:47 +01:00
parent df35583cb6
commit 7444db9fe0
No known key found for this signature in database
GPG key ID: E45B10DD027D2472
2 changed files with 2 additions and 2 deletions

View file

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

View file

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