Skip to content

Commit

Permalink
On '1.7.x-cmake-improvements' branch: Merge r1917250 from trunk:
Browse files Browse the repository at this point in the history
  * 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
  • Loading branch information
Ivan Zhakov committed Apr 22, 2024
1 parent 7afd350 commit 0fc40dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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=$<TARGET_FILE_DIR:${proggie}>")

ADD_DEPENDENCIES(testall ${proggie})
ENDFOREACH()

# Add tests for programs that run by themselves with no arguments.
Expand Down

0 comments on commit 0fc40dc

Please sign in to comment.