From cb5f1f7a0f28f7a60918e342a4eb8b98634c9ab8 Mon Sep 17 00:00:00 2001 From: Robert Huang <56649783@qq.com> Date: Thu, 14 Mar 2024 17:22:14 +0800 Subject: [PATCH] Set option cares default ON --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a029adc5..9b76cbe2 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ option(BUILD_TESTING "Build tests" OFF) option(BUILD_DOC "Build Doxygen documentation" OFF) option(BUILD_DEPENDENCIES "Fetch and build dependencies" OFF) option(TRANTOR_USE_SPDLOG "Allow using the spdlog logging library" ON) -option(TRANTOR_USE_C-ARES "Allow using C-ARES" OFF) +option(TRANTOR_USE_C-ARES "Allow using C-ARES" ON) set(TRANTOR_TLS_PROVIDER "auto" CACHE STRING "TLS(Transport Layer Security) provider for trantor. Valid options are diff --git a/README.md b/README.md index 6ce3a6f2..eb74aedd 100755 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Trantor provides some building options, you can enable or disable them by settin | BUILD_DOC | Build Doxygen documentation | OFF | | BUILD_DEPENDENCIES | Fetch and build dependencies, this allow you use latest or change dependencies version, if you don't want to use system package manager provided | OFF | | TRANTOR_USE_SPDLOG | Allow using the spdlog logging library | ON | -| TRANTOR_USE_C-ARES | Allow using C-ARES | OFF | +| TRANTOR_USE_C-ARES | Allow using C-ARES | ON | | TRANTOR_TLS_PROVIDER | TLS provider for trantor. Valid options are 'none', 'openssl', 'botan-3', 'auto'. | auto | > With option `BUILD_DEPENDENCIES` on, the related dependencies source will download and build automatically based on the options settings, this make develop more easily in `Windows`.