Skip to content

Commit ce87098

Browse files
authored
Restore incorrectly removed rocm_install (#218)
1 parent e28cf2a commit ce87098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ function(add_relative_test test_name test_target)
4343
endif()
4444
file(RELATIVE_PATH rel_path "${CMAKE_CURRENT_BINARY_DIR}" "${EXE_PATH}/${EXE_NAME}")
4545
add_test(NAME "${test_name}" COMMAND "./${rel_path}")
46+
rocm_install(TARGETS ${test_target} COMPONENT tests)
4647
file(APPEND "${INSTALL_TEST_FILE}" "add_test(${test_name} \"../${EXE_NAME}\")\n")
4748
endfunction()
4849

0 commit comments

Comments
 (0)