diff options
Diffstat (limited to 'utils')
| -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) |
