cmake: Add external signer support

This commit is contained in:
Hennadii Stepanov 2024-07-24 13:08:55 +01:00
parent 353e0c9e96
commit 801735163a
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
2 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,8 @@ if(WITH_USDT)
find_package(USDT MODULE REQUIRED)
endif()
cmake_dependent_option(ENABLE_EXTERNAL_SIGNER "Enable external signer support." ON "NOT WIN32" OFF)
set(configure_warnings)
include(CheckPIESupported)
@ -310,6 +312,7 @@ if(ENABLE_WALLET)
message(" - descriptor wallets (SQLite) ...... ${WITH_SQLITE}")
message(" - legacy wallets (Berkeley DB) ..... ${WITH_BDB}")
endif()
message(" external signer ..................... ${ENABLE_EXTERNAL_SIGNER}")
message(" port mapping:")
message(" - using NAT-PMP .................... ${WITH_NATPMP}")
message(" - using UPnP ....................... ${WITH_MINIUPNPC}")

View File

@ -35,6 +35,9 @@
/* Define this symbol to build code that uses AVX2 intrinsics */
#cmakedefine ENABLE_AVX2 1
/* Define if external signer support is enabled */
#cmakedefine ENABLE_EXTERNAL_SIGNER 1
/* Define this symbol to build code that uses SSE4.1 intrinsics */
#cmakedefine ENABLE_SSE41 1