Skip to content

Commit

Permalink
Merge r1902072 from apr/trunk:
Browse files Browse the repository at this point in the history
* CMakeLists.txt: Set BINPATH for test executables.

git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.7.x@1920382 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Sep 2, 2024
1 parent b744d07 commit 042711f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ IF(APR_BUILD_TESTAPR)

ADD_EXECUTABLE(testall ${APR_TEST_SOURCES})
TARGET_LINK_LIBRARIES(testall ${whichapr} ${apr_ldap_libraries} ${XMLLIB_LIBRARIES} ${LDAP_LIBRARIES})
TARGET_COMPILE_DEFINITIONS(testall PRIVATE "BINPATH=$<TARGET_FILE_DIR:testall>")
IF(apiflag)
SET_TARGET_PROPERTIES(testall PROPERTIES COMPILE_FLAGS ${apiflag})
ENDIF()
Expand Down

0 comments on commit 042711f

Please sign in to comment.