diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/duilib/fix-arm-build.patch | |
Diffstat (limited to 'vcpkg/ports/duilib/fix-arm-build.patch')
| -rw-r--r-- | vcpkg/ports/duilib/fix-arm-build.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/duilib/fix-arm-build.patch b/vcpkg/ports/duilib/fix-arm-build.patch new file mode 100644 index 0000000..0d967d9 --- /dev/null +++ b/vcpkg/ports/duilib/fix-arm-build.patch @@ -0,0 +1,11 @@ +diff --git a/DuiLib/CMakeLists.txt b/DuiLib/CMakeLists.txt +index 6a4da5a..4961174 100644 +--- a/DuiLib/CMakeLists.txt ++++ b/DuiLib/CMakeLists.txt +@@ -18,5 +18,5 @@ set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib) + add_library(duilib SHARED ${Control_src} ${Core_src} ${Layout_src} ${Utils_src} ${Root_src})
+
+ add_definitions(-DUILIB_EXPORTS)
+-target_link_libraries(duilib comctl32)
++target_link_libraries(duilib comctl32 gdi32 user32)
+ target_include_directories(duilib PUBLIC $<INSTALL_INTERFACE:include>)
|