From 11883a51ffa19eeb1a28c0ba788fd6a381940092 Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 11 Oct 2024 14:59:37 -0300 Subject: [PATCH] Disable Curl tests in compilation This avoid creating a lot of testNNN projects inside the Visual Studio solution generated by cmake. --- third_party/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 374dbd8f3..5db887125 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -61,6 +61,7 @@ endif() if(REQUIRE_CURL AND NOT USE_SHARED_CURL) set(BUILD_RELEASE_DEBUG_DIRS ON BOOL) set(BUILD_CURL_EXE OFF CACHE BOOL "Set to ON to build curl executable.") + set(CURL_DISABLE_TESTS ON CACHE BOOL "Disable Curl tests") add_subdirectory(curl) endif()