guix: fix configurable cmake options

This commit is contained in:
tobtoht 2023-01-13 13:12:26 +01:00
parent 3c68a56738
commit b0cc17564d
2 changed files with 2 additions and 2 deletions

View file

@ -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(CHECK_UPDATES "Enable checking for application updates" OFF)
option(PLATFORM_INSTALLER "Built-in updater fetches installer (windows-only)" OFF) option(PLATFORM_INSTALLER "Built-in updater fetches installer (windows-only)" OFF)
option(USE_DEVICE_TREZOR "Trezor support compilation" ON) 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) option(WITH_SCANNER "Enable webcam QR scanner" ON)
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_SOURCE_DIR}/cmake") list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_SOURCE_DIR}/cmake")

View file

@ -274,7 +274,7 @@ mkdir -p "$DISTSRC"
# Set appropriate CMake options for build type # 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 case "$HOST" in
*mingw32) *mingw32)
case "$OPTIONS" in case "$OPTIONS" in