1
0
mirror of synced 2024-11-24 15:50:16 +01:00

build: Fixed pdb creation removing bundled debug info

This commit is contained in:
WerWolv 2023-06-23 21:39:13 +02:00
parent b019283a2f
commit c787532ed9

View File

@ -601,7 +601,8 @@ function(generatePDBs)
COMMAND COMMAND
(${CMAKE_COMMAND} -E remove -f ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb && (${CMAKE_COMMAND} -E remove -f ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb &&
${cv2pdb_SOURCE_DIR}/cv2pdb64.exe ${cv2pdb_SOURCE_DIR}/cv2pdb64.exe
$<TARGET_FILE:${PDB}>) || (exit 0) $<TARGET_FILE:${PDB}>
$<TARGET_FILE:${PDB}>.stripped) || (exit 0)
DEPENDS $<TARGET_FILE:${PDB}> DEPENDS $<TARGET_FILE:${PDB}>
COMMAND_EXPAND_LISTS) COMMAND_EXPAND_LISTS)