build: Corrected pdb generation and install issues

This commit is contained in:
WerWolv 2023-06-23 23:00:06 +02:00
parent dd72c0cc46
commit 2c6f1503ef
1 changed files with 2 additions and 2 deletions

View File

@ -606,8 +606,8 @@ function(generatePDBs)
DEPENDS $<TARGET_FILE:${PDB}> DEPENDS $<TARGET_FILE:${PDB}>
COMMAND_EXPAND_LISTS) COMMAND_EXPAND_LISTS)
target_sources(imhex_all PRIVATE ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb) target_sources(imhex_all PRIVATE $<TARGET_FILE:${PDB}>.pdb)
install(FILES $<TARGET_FILE_DIR:${PDB}>/${GENERATED_PDB}.pdb DESTINATION ".") install(FILES $<TARGET_FILE:${PDB}>.pdb DESTINATION ".")
endforeach () endforeach ()