Skip to content

Commit 9000aa2

Browse files
authored
Update utilities.cmake's do_packaging to install pdb files on msvc (#3561)
1 parent 14b33e1 commit 9000aa2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/utilities.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ macro(do_packaging)
147147
COMPONENT
148148
Devel)
149149
endif()
150+
if (MSVC)
151+
install (FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)
152+
endif()
150153
endmacro()
151154

152155

0 commit comments

Comments
 (0)