Skip to content

Commit 165a3d6

Browse files
authored
Revert "[Clang][CMake][MSVC] Install PDBs alongside executables" (#126934)
Reverts #126675 Broke the following: https://lab.llvm.org/buildbot/#/builders/107/builds/7929
1 parent ff8f6ab commit 165a3d6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clang/cmake/modules/AddClang.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ macro(add_clang_library name)
138138
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}
139139
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
140140

141-
if (LLVM_ENABLE_PDB)
142-
install(FILES $<TARGET_PDB_FILE:${name}> DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${name} OPTIONAL)
143-
endif()
144-
145141
if (NOT LLVM_ENABLE_IDE)
146142
add_llvm_install_targets(install-${lib}
147143
DEPENDS ${lib}

0 commit comments

Comments
 (0)