Skip to content

Commit 791441c

Browse files
committed
add AND NOT T_TYPE STREQUAL INTERFACE_LIBRARY
1 parent ffe776c commit 791441c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ function(rocm_install_targets)
233233
DESTINATION ${LIB_INSTALL_DIR}
234234
COMPONENT ${development}
235235
)
236-
if(WIN32)
236+
if(WIN32 AND NOT T_TYPE STREQUAL "INTERFACE_LIBRARY")
237237
install(FILES $<TARGET_PDB_FILE:${TARGET}>
238238
DESTINATION ${BIN_INSTALL_DIR} OPTIONAL)
239239
endif()

0 commit comments

Comments
 (0)