mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 20:19:06 +08:00
496f9e4fa4
* [trantor] Update to 1.2.0 * Add versions file
15 lines
504 B
Diff
15 lines
504 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d164667..e75b869 100755
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -90,6 +90,9 @@ if(c-ares_FOUND)
|
|
message(STATUS "c-ares found!")
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE c-ares_lib)
|
|
set(TRANTOR_SOURCES ${TRANTOR_SOURCES} trantor/net/inner/AresResolver.cc)
|
|
+ if(APPLE)
|
|
+ target_link_libraries(${PROJECT_NAME} PRIVATE resolv)
|
|
+ endif()
|
|
else()
|
|
set(TRANTOR_SOURCES ${TRANTOR_SOURCES} trantor/net/inner/NormalResolver.cc)
|
|
endif()
|