1
0
mirror of synced 2025-01-10 21:41:53 +01:00

build: Ignore pdb copy file errors

This commit is contained in:
WerWolv 2025-01-05 15:27:54 +01:00
parent 1090b9879c
commit d02c0073a0

View File

@ -834,7 +834,7 @@ function(generatePDBs)
COMMAND_EXPAND_LISTS)
if (IMHEX_REPLACE_DWARF_WITH_PDB)
install(CODE "file(COPY_FILE ${CMAKE_BINARY_DIR}/${PDB}.pdb ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb)")
install(CODE "file(COPY_FILE ${CMAKE_BINARY_DIR}/${PDB}.pdb ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb RESULT copy_result)")
endif ()
install(FILES ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb DESTINATION ".")