Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 1: [PATCH 01/68] build: adapt Roots platform support to Core 30.3

depends/toolchain.cmake.in

Before: depends/toolchain.cmake.in · After: depends/toolchain.cmake.in

File metadata
index e31d9eefeef6eb41d8167c588e28d6cd8e57a2fc..f33697e891a785d91a6401340ad2e6e9d268c31c 100644

Download original patch · Release notes

Diff rows 1–13 of 13. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

depends/toolchain.cmake.in CHANGED
@@ -159,6 +159,13 @@ else()
159
  set(ENABLE_WALLET ON CACHE BOOL "")
160
  endif()
161
 
 
 
 
 
 
 
 
162
  if("@usdt_packages@" MATCHES "^[ ]*$")
163
  set(WITH_USDT OFF CACHE BOOL "")
164
  else()
 
159
  set(ENABLE_WALLET ON CACHE BOOL "")
160
  endif()
161
 
162
+ set(upnp_packages @upnp_packages@)
163
+ if("${upnp_packages}" STREQUAL "")
164
+ set(WITH_MINIUPNPC OFF CACHE BOOL "")
165
+ else()
166
+ set(WITH_MINIUPNPC ON CACHE BOOL "")
167
+ endif()
168
+
169
  if("@usdt_packages@" MATCHES "^[ ]*$")
170
  set(WITH_USDT OFF CACHE BOOL "")
171
  else()