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.