Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 8: [PATCH 08/17] chore(roots): integrate v31 identity and maintenance tooling

src/qt/CMakeLists.txt

Before: src/qt/CMakeLists.txt · After: src/qt/CMakeLists.txt

File metadata
index d9486b97eb7dce76909e4a42995b9a835e4fd49c..4d127da82d12bf840318a832a6710a5158a30490 100644

Download original patch · Release notes

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

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/qt/CMakeLists.txt CHANGED
@@ -241,6 +241,11 @@ if(WITH_DBUS)
241
241
  target_link_libraries(bitcoinqt PRIVATE Qt${WITH_QT_VERSION}::DBus)
242
242
  endif()
243
243
 
244
+ if(WITH_TASKBAR_PROGRESS)
245
+ target_sources(bitcoinqt PRIVATE wintaskbarprogress.cpp wintaskbarprogress.h)
246
+ target_link_libraries(bitcoinqt PRIVATE ole32)
247
+ endif()
248
+
244
249
  if(qt_lib_type STREQUAL "STATIC_LIBRARY")
245
250
  # We want to define static plugins to link ourselves, thus preventing
246
251
  # automatic linking against a "sane" set of default static plugins.
@@ -270,7 +275,10 @@ add_executable(bitcoin-qt
270
275
  ../init/bitcoin-qt.cpp
271
276
  )
272
277
 
273
- add_windows_resources(bitcoin-qt res/bitcoin-qt-res.rc)
278
+ if(WIN32)
279
+ configure_file(res/bitcoin-qt-res.rc res/bitcoin-qt-res.rc USE_SOURCE_PERMISSIONS @ONLY)
280
+ add_windows_resources(bitcoin-qt ${CMAKE_CURRENT_BINARY_DIR}/res/bitcoin-qt-res.rc)
281
+ endif()
274
282
  add_windows_application_manifest(bitcoin-qt)
275
283
 
276
284
  target_link_libraries(bitcoin-qt