Skip to content

Commit

Permalink
test/CMakeLists.txt: use $<TARGET_FILE:testrunner> (#6871)
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave authored Oct 7, 2024
1 parent c9ef0ee commit 629ec44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if (BUILD_TESTS)
if (${NAME} IN_LIST SKIP_TESTS)
elseif(TEST ${NAME})
else()
add_test(NAME ${NAME} COMMAND testrunner ${NAME} WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
add_test(NAME ${NAME} COMMAND $<TARGET_FILE:testrunner> ${NAME} WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
endif()
endfunction()

Expand Down

0 comments on commit 629ec44

Please sign in to comment.