vcpkg/ports/drogon/resolv.patch
双草酸酯 95f2e57839
[drogon] Upgrade to v1.3.0 (#15850)
* [drogon] Upgrade to v1.3.0

* Update_versions

* [drogon] remove debug stuffs

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-02-02 14:35:45 -08:00

14 lines
440 B
Diff

diff --git a/drogon_ctl/CMakeLists.txt b/drogon_ctl/CMakeLists.txt
--- a/drogon_ctl/CMakeLists.txt
+++ b/drogon_ctl/CMakeLists.txt
@@ -39,6 +39,9 @@
if(WIN32)
target_link_libraries(drogon_ctl PRIVATE ws2_32 Rpcrt4)
endif(WIN32)
+if(APPLE)
+ target_link_libraries(drogon_ctl PRIVATE resolv)
+endif()
message(STATUS "bin:" ${INSTALL_BIN_DIR})
install(TARGETS drogon_ctl RUNTIME DESTINATION ${INSTALL_BIN_DIR})
if(WIN32)