From 68609f0e334359875a2f62735377174ab6b873dd Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 29 Mar 2025 13:29:26 +0100 Subject: [PATCH] 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 --- tests/certs/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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} -- 2.47.2