cmake: Add application manifests when cross-compiling for Windows

Windows application manifests provide several benefits. However, on the
master branch, the linker generates and embeds manifests only when
building with MSVC.

This change unifies manifest embedding for both native and
cross-compilation.
This commit is contained in:
Hennadii Stepanov committed 2025-05-15 13:57:57 +01:00
1 parent 663a9cabf8
commit 282b4913c7
6 files changed
+42 -2

No files matched your search

+1
View File
@@ -256,6 +256,7 @@ add_executable(bitcoin-qt
)
add_windows_resources(bitcoin-qt res/bitcoin-qt-res.rc)
add_windows_application_manifest(bitcoin-qt)
target_link_libraries(bitcoin-qt
core_interface