From: Viktor Szakats Date: Sat, 29 Mar 2025 12:29:26 +0000 (+0100) Subject: cmake: also build certs when building test executables X-Git-Tag: curl-8_13_0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68609f0e334359875a2f62735377174ab6b873dd;p=thirdparty%2Fcurl.git 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 0c1ad21f978c8f5acf3d0c1708d83a93635d9df3 #16845 Closes #16866 --- diff --git a/tests/certs/CMakeLists.txt b/tests/certs/CMakeLists.txt index 83c0967377..2bc8e5ce07 100644 --- a/tests/certs/CMakeLists.txt +++ b/tests/certs/CMakeLists.txt @@ -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}