Skip to content

Commit

Permalink
Install the Windows pdb files in the bin dir
Browse files Browse the repository at this point in the history
Install the Windows pdb files in the bin (or runtime)
directory and not into the library dir.
  • Loading branch information
winterz committed Jan 4, 2024
1 parent 18d29f7 commit 098d243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/KDSoapClient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ if(KDSoap_IS_ROOT_PROJECT)
if(MSVC AND NOT ${PROJECT_NAME}_STATIC)
install(
FILES "$<TARGET_PDB_FILE_DIR:kdsoap>/$<TARGET_PDB_FILE_NAME:kdsoap>"
DESTINATION ${INSTALL_LIBRARY_DIR}
DESTINATION ${INSTALL_RUNTIME_DIR}
CONFIGURATIONS Debug RelWithDebInfo
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion src/KDSoapServer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ if(KDSoap_IS_ROOT_PROJECT)
if(MSVC AND NOT ${PROJECT_NAME}_STATIC)
install(
FILES "$<TARGET_PDB_FILE_DIR:kdsoap-server>/$<TARGET_PDB_FILE_NAME:kdsoap-server>"
DESTINATION ${INSTALL_LIBRARY_DIR}
DESTINATION ${INSTALL_RUNTIME_DIR}
CONFIGURATIONS Debug RelWithDebInfo
)
endif()
Expand Down

0 comments on commit 098d243

Please sign in to comment.