|
|
@ -179,7 +179,8 @@ |
|
|
|
if(NOT CARES_ROOT_DIR) |
|
|
|
if(NOT CARES_ROOT_DIR) |
|
|
|
set(CARES_ROOT_DIR <%text>${CMAKE_CURRENT_SOURCE_DIR}</%text>/third_party/cares/cares) |
|
|
|
set(CARES_ROOT_DIR <%text>${CMAKE_CURRENT_SOURCE_DIR}</%text>/third_party/cares/cares) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
set(CARES_STATIC ON) |
|
|
|
set(CARES_SHARED OFF CACHE BOOL "disable shared library") |
|
|
|
|
|
|
|
set(CARES_STATIC ON CACHE BOOL "link cares statically") |
|
|
|
set(CARES_INCLUDE_DIR "<%text>${CMAKE_CURRENT_SOURCE_DIR}</%text>/third_party/cares/cares") |
|
|
|
set(CARES_INCLUDE_DIR "<%text>${CMAKE_CURRENT_SOURCE_DIR}</%text>/third_party/cares/cares") |
|
|
|
add_subdirectory(third_party/cares/cares) |
|
|
|
add_subdirectory(third_party/cares/cares) |
|
|
|
if(TARGET c-ares) |
|
|
|
if(TARGET c-ares) |
|
|
|