Disable Curl tests in compilation

This avoid creating a lot of testNNN projects inside the Visual Studio
solution generated by cmake.
This commit is contained in:
David Capello 2024-10-11 14:59:37 -03:00
parent 0a45319e06
commit 11883a51ff

View File

@ -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()