Skip to content

Commit

Permalink
Install PDB files to runtime dir instead of library dir
Browse files Browse the repository at this point in the history
PDB files are loaded dynamically based on DLLs, so they should be in the same directory
  • Loading branch information
bebuch authored and iamsergio committed Nov 29, 2023
1 parent 4250015 commit a17bd4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ if(KDDW_FRONTEND_QT)
if(MSVC AND NOT KDDockWidgets_STATIC)
install(
FILES "$<TARGET_PDB_FILE_DIR:kddockwidgets>/$<TARGET_PDB_FILE_NAME:kddockwidgets>"
DESTINATION ${INSTALL_LIBRARY_DIR}
DESTINATION ${INSTALL_RUNTIME_DIR}
CONFIGURATIONS Debug RelWithDebInfo
)
endif()
Expand Down

0 comments on commit a17bd4a

Please sign in to comment.