diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 599d4b2e0..e131e6300 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -606,8 +606,8 @@ function(generatePDBs) DEPENDS $ COMMAND_EXPAND_LISTS) - target_sources(imhex_all PRIVATE ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb) - install(FILES $/${GENERATED_PDB}.pdb DESTINATION ".") + target_sources(imhex_all PRIVATE $.pdb) + install(FILES $.pdb DESTINATION ".") endforeach ()