mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 15:41:48 +08:00
9fb1585e7a
* [trantor] Update to 1.5.1 * Update ports/trantor/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/trantor/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * update cmake functiom * update version * fix ci baseline issue * update version * fix ci error * add port version * update version * Repair old drogon sha. Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: Jonliu1993 <13720414433@163.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
15 lines
396 B
Diff
15 lines
396 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index ad5a1b3..7d59844 100755
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -133,6 +133,9 @@ if(c-ares_FOUND)
|
|
set(private_headers
|
|
${private_headers}
|
|
trantor/net/inner/AresResolver.h)
|
|
+ if(APPLE)
|
|
+ target_link_libraries(${PROJECT_NAME} PRIVATE resolv)
|
|
+ endif()
|
|
else(c-ares_FOUND)
|
|
set(TRANTOR_SOURCES
|
|
${TRANTOR_SOURCES}
|