vcpkg/ports/getdns/install_dlls.patch
Jim Hague e1285b4a28
[getdns] Add new port. (#12090)
* [getdns] Add new port.

* Add support for vcpkg static library builds.

* Convert libevent and libuv libraries to features.

* Use ${PORT} in copyright install.

* getdns does not currently support UWP.

* Add failing port on UWP to portfile.

* Remove optional FEATURES keyword.
2020-07-06 17:22:17 -07:00

25 lines
1.1 KiB
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10d10b99..35761647 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1065,15 +1065,15 @@ if (ENABLE_STATIC)
endif ()
endif ()
if (ENABLE_SHARED)
- install(TARGETS getdns_shared LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ install(TARGETS getdns_shared LIBRARY DESTINATION lib ARCHIVE DESTINATION lib RUNTIME DESTINATION bin)
if (USE_LIBEV)
- install(TARGETS getdns_ex_ev_shared LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ install(TARGETS getdns_ex_ev_shared LIBRARY DESTINATION lib ARCHIVE DESTINATION lib RUNTIME DESTINATION bin)
endif ()
if (USE_LIBEVENT2)
- install(TARGETS getdns_ex_event_shared LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ install(TARGETS getdns_ex_event_shared LIBRARY DESTINATION lib ARCHIVE DESTINATION lib RUNTIME DESTINATION bin)
endif ()
if (USE_LIBUV)
- install(TARGETS getdns_ex_uv_shared LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ install(TARGETS getdns_ex_uv_shared LIBRARY DESTINATION lib ARCHIVE DESTINATION lib RUNTIME DESTINATION bin)
endif ()
endif ()
if (BUILD_GETDNS_QUERY)