From 0fc40dcce588e6ea59ac34e38f0aad13eb423bb5 Mon Sep 17 00:00:00 2001 From: Ivan Zhakov Date: Mon, 22 Apr 2024 10:24:24 +0000 Subject: [PATCH] On '1.7.x-cmake-improvements' branch: Merge r1917250 from trunk: * CMakeLists.txt: Add dependency of testprograms to testall. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x-cmake-improvements@1917263 13f79535-47bb-0310-9956-ffa450edef68 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2937ccb55b..0aa75fb2de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -422,6 +422,8 @@ IF(APR_BUILD_TESTAPR) ADD_EXECUTABLE(${proggie} ${sourcefile}) TARGET_LINK_LIBRARIES(${proggie} ${whichapr}) SET_TARGET_PROPERTIES(${proggie} PROPERTIES COMPILE_DEFINITIONS "BINPATH=$") + + ADD_DEPENDENCIES(testall ${proggie}) ENDFOREACH() # Add tests for programs that run by themselves with no arguments.