Skip to content

Commit acfae1c

Browse files
committed
Fix multiconfig error with install-tests
1 parent 73b3eac commit acfae1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/rocmcmakebuildtools/cmake/ROCMTest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -j ${
1919
add_custom_target(tests COMMENT "Build all tests.")
2020
add_dependencies(check tests)
2121

22-
add_custom_target(install-tests COMMAND ${CMAKE_COMMAND} -DCOMPONENT=tests -P ${CMAKE_BINARY_DIR}/cmake_install.cmake)
22+
add_custom_target(install-tests COMMAND ${CMAKE_COMMAND} -DCOMPONENT=tests -DCMAKE_INSTALL_CONFIG_NAME=$<CONFIG> -P ${CMAKE_BINARY_DIR}/cmake_install.cmake)
2323
add_dependencies(install-tests tests)
2424

2525
rocm_define_property(TARGET "ROCM_TEST_INSTALLDIR" "Install dir for tests")

0 commit comments

Comments
 (0)