From d02c0073a0ab551d47eacca2475e81f418486d4c Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 5 Jan 2025 15:27:54 +0100 Subject: [PATCH] build: Ignore pdb copy file errors --- cmake/build_helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index fc62edd7d..e2e7c348f 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -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 ".")