2021-01-25 16:16:36 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2021-11-30 04:02:15 +08:00
|
|
|
index 33b8e2c..e8c1cc2 100755
|
2021-01-25 16:16:36 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2021-11-30 04:02:15 +08:00
|
|
|
@@ -148,6 +148,9 @@ if(HAVE_C-ARES)
|
2021-08-31 10:27:37 +08:00
|
|
|
set(private_headers
|
|
|
|
${private_headers}
|
|
|
|
trantor/net/inner/AresResolver.h)
|
2021-01-25 16:16:36 +08:00
|
|
|
+ if(APPLE)
|
2021-11-30 04:02:15 +08:00
|
|
|
+ target_link_libraries(${PROJECT_NAME} PRIVATE resolv)
|
2021-01-25 16:16:36 +08:00
|
|
|
+ endif()
|
2021-11-30 04:02:15 +08:00
|
|
|
else()
|
2021-08-31 10:27:37 +08:00
|
|
|
set(TRANTOR_SOURCES
|
|
|
|
${TRANTOR_SOURCES}
|