diff options
| author | Egor Tensin <egor@tensin.name> | 2026-05-17 18:21:19 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-05-17 19:16:16 +0200 |
| commit | 5938c4a524354b6b7591b8d9beab3151cb009fe8 (patch) | |
| tree | 61cb1bd8ba7001a5a894333645a665116acfc849 /utils/CMakeLists.txt | |
| parent | workflows/ci: remove on: pull_request (diff) | |
| download | winapi-debug-5938c4a524354b6b7591b8d9beab3151cb009fe8.tar.gz winapi-debug-5938c4a524354b6b7591b8d9beab3151cb009fe8.zip | |
upgrade dependenciespre-c++20
Diffstat (limited to '')
| -rw-r--r-- | utils/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 3b7f865..62ca7fd 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -5,7 +5,9 @@ function(add_util name src) target_link_libraries("${name}" PRIVATE winapi_debug) target_link_libraries("${name}" PRIVATE Boost::disable_autolinking Boost::filesystem Boost::program_options) install(TARGETS "${name}" RUNTIME DESTINATION bin) - install_pdbs(TARGETS "${name}" DESTINATION bin) + if(MSVC) + install(FILES "$<TARGET_PDB_FILE:${name}>" DESTINATION bin OPTIONAL) + endif() endfunction() add_util(enum_symbols enum_symbols.cpp command_line.hpp pdb_descr.hpp) |
