cmake: exclude tests/http/clients builds by default

To limit building them with the testdeps target, like it's done with
the rest of test programs.

Follow-up to 232302f88a #14382
Closes #14477
This commit is contained in:
Viktor Szakats 2024-08-09 19:40:04 +02:00
parent e48d8821ab
commit aa3a31ce26
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -28,7 +28,7 @@ include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
foreach(_test_name IN LISTS check_PROGRAMS)
set(_test_target "curl-test-client-${_test_name}")
add_executable(${_test_target} "${_test_name}.c")
add_executable(${_test_target} EXCLUDE_FROM_ALL "${_test_name}.c")
add_dependencies(testdeps ${_test_target})
target_include_directories(${_test_target} PRIVATE
"${CURL_BINARY_DIR}/lib" # for "curl_config.h"