Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cmake/modules/SwiftSupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ function(_install_target module)
endif()

install(TARGETS ${module})
if(MSVC AND NOT type STREQUAL STATIC_LIBRARY)
install(FILES $<TARGET_FILE_DIR:${module}>/$<TARGET_FILE_BASE_NAME:${module}>.pdb
DESTINATION ${CMAKE_INSTALL_BINDIR}
OPTIONAL)
endif()
if(type STREQUAL EXECUTABLE)
return()
endif()
Expand Down
Loading