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:
parent
e48d8821ab
commit
aa3a31ce26
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user