From c57d855d5b99be90661702fb05bdff439ab52a5d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 24 Mar 2021 22:41:31 +0300 Subject: cmake: use install_pdbs() --- utils/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'utils') diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 712a9e8..6f469a8 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -5,9 +5,7 @@ function(add_util name src) target_link_libraries("${name}" PRIVATE pdb_repo) target_link_libraries("${name}" PRIVATE Boost::disable_autolinking Boost::filesystem Boost::nowide Boost::program_options) install(TARGETS "${name}" RUNTIME DESTINATION bin) - if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - install(FILES "$" DESTINATION bin OPTIONAL) - endif() + install_pdbs(TARGETS "${name}" DESTINATION bin) endfunction() add_util(enum_symbols enum_symbols.cpp command_line.hpp pdb_descr.hpp) -- cgit v1.2.3