diff --git a/CMakeLists.txt b/CMakeLists.txt index c4f12e4acc4..36b115af043 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}") diff --git a/cmake/bitcoin-config.h.in b/cmake/bitcoin-config.h.in index 04590fc6097..f599efc89f8 100644 --- a/cmake/bitcoin-config.h.in +++ b/cmake/bitcoin-config.h.in @@ -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