summaryrefslogtreecommitdiffstatshomepage
path: root/utils
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-05-17 18:21:19 +0200
committerEgor Tensin <egor@tensin.name>2026-05-17 19:16:16 +0200
commit5938c4a524354b6b7591b8d9beab3151cb009fe8 (patch)
tree61cb1bd8ba7001a5a894333645a665116acfc849 /utils
parentworkflows/ci: remove on: pull_request (diff)
downloadwinapi-debug-5938c4a524354b6b7591b8d9beab3151cb009fe8.tar.gz
winapi-debug-5938c4a524354b6b7591b8d9beab3151cb009fe8.zip
upgrade dependenciespre-c++20
Diffstat (limited to 'utils')
-rw-r--r--utils/CMakeLists.txt4
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)