pineapple-src/externals/vcpkg/ports/duilib/fix-post-build-errors.patch
2022-07-23 03:01:36 +02:00

11 lines
558 B
Diff
Executable file

diff --git a/DuiLib/CMakeLists.txt b/DuiLib/CMakeLists.txt
index 835d430..6a4da5a 100644
--- a/DuiLib/CMakeLists.txt
+++ b/DuiLib/CMakeLists.txt
@@ -20,6 +20,3 @@ add_library(duilib SHARED ${Control_src} ${Core_src} ${Layout_src} ${Utils_src}
add_definitions(-DUILIB_EXPORTS)
target_link_libraries(duilib comctl32)
set_target_properties(duilib PROPERTIES OUTPUT_NAME "duilib")
-add_custom_command(TARGET duilib POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy_if_different
- ${PROJECT_BINARY_DIR}/lib/duilib.dll ${PROJECT_SOURCE_DIR}/bin/duilib.dll)