Skip to content

Commit 0037d53

Browse files
committed
build: Fix ENABLE_WALLET option
The removed commands were left over from the transition from autodetection to explicit options. These commands prevented the `-DENABLE_WALLET=OFF` option from being work properly when building with depends.
1 parent c66c683 commit 0037d53

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,12 @@ if(WITH_SQLITE)
103103
find_package(SQLite3 3.7.17 REQUIRED)
104104
endif()
105105
set(USE_SQLITE ON)
106-
set(ENABLE_WALLET ON)
107106
endif()
108107
option(WITH_BDB "Enable Berkeley DB (BDB) wallet support." OFF)
109108
cmake_dependent_option(WARN_INCOMPATIBLE_BDB "Warn when using a Berkeley DB (BDB) version other than 4.8." ON "WITH_BDB" OFF)
110109
if(WITH_BDB)
111110
find_package(BerkeleyDB 4.8 MODULE REQUIRED)
112111
set(USE_BDB ON)
113-
set(ENABLE_WALLET ON)
114112
if(NOT BerkeleyDB_VERSION VERSION_EQUAL 4.8)
115113
message(WARNING "Found Berkeley DB (BDB) other than 4.8.\n"
116114
"BDB (legacy) wallets opened by this build will not be portable!"

0 commit comments

Comments
 (0)