mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:27:15 +03:00
cmake: also build certs when building test executables
To support running tests directly via `runtests.pl` after building
the test targets. Also to sync with the same update for autotools.
Follow-up to 0c1ad21f97 #16845
Closes #16866
This commit is contained in:
parent
f07d57b955
commit
68609f0e33
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ add_custom_command(OUTPUT ${GENERATEDCERTS}
|
|||
VERBATIM
|
||||
)
|
||||
add_custom_target(build-certs DEPENDS ${GENERATEDCERTS})
|
||||
add_dependencies(testdeps build-certs)
|
||||
|
||||
add_custom_target(clean-certs
|
||||
COMMAND ${CMAKE_COMMAND} -E remove ${GENERATEDCERTS}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue