From: tobtoht Date: Fri, 13 Jan 2023 12:12:26 +0000 (+0100) Subject: guix: fix configurable cmake options X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=b0cc17564d83d4b27d105ea29f7774e51dbc9b26;p=gamesguru%2Ffeather.git guix: fix configurable cmake options --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a9258fab..f217b7d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ option(TOR_DIR "Directory containing Tor binaries to embed inside Feather" OFF) option(CHECK_UPDATES "Enable checking for application updates" OFF) option(PLATFORM_INSTALLER "Built-in updater fetches installer (windows-only)" OFF) option(USE_DEVICE_TREZOR "Trezor support compilation" ON) -option(DONATE_BEG "Prompt donation window every once in a while" ON) +option(DONATE_BEG "Prompt donation window every once in a while" OFF) option(WITH_SCANNER "Enable webcam QR scanner" ON) list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_SOURCE_DIR}/cmake") diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh index 5211264c..23021b72 100755 --- a/contrib/guix/libexec/build.sh +++ b/contrib/guix/libexec/build.sh @@ -274,7 +274,7 @@ mkdir -p "$DISTSRC" # Set appropriate CMake options for build type - CMAKEVARS="-DWITH_SCANNER=On" + CMAKEVARS="-DWITH_SCANNER=On -DCHECK_UPDATES=On -DSELF_CONTAINED=On -DDONATE_BEG=On" case "$HOST" in *mingw32) case "$OPTIONS" in