File tree Expand file tree Collapse file tree
share/rocmcmakebuildtools/cmake Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# ######################################################################################################################
2- # Copyright (C) 2017 Advanced Micro Devices, Inc.
2+ # Copyright (C) 2026 Advanced Micro Devices, Inc.
33# ######################################################################################################################
44
55cmake_policy (SET CMP0057 NEW )
@@ -233,9 +233,11 @@ function(rocm_install_targets)
233233 DESTINATION ${LIB_INSTALL_DIR}
234234 COMPONENT ${development}
235235 )
236- if (WIN32 AND NOT T_TYPE STREQUAL "INTERFACE_LIBRARY" )
236+ if (WIN32 AND
237+ (T_TYPE STREQUAL "SHARED_LIBRARY" OR
238+ T_TYPE STREQUAL "MODULE_LIBRARY" OR
239+ T_TYPE STREQUAL "EXECUTABLE" ))
237240 install (FILES $<TARGET_PDB_FILE :${TARGET} >
238- COMPONENT ${runtime}
239241 DESTINATION ${BIN_INSTALL_DIR} OPTIONAL )
240242 endif ()
241243 rocm_set_install_dir_property (
You can’t perform that action at this time.
0 commit comments