From 6f7a7af8ab10a4a4fbf86b873a14ea0608edfa1f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 24 Mar 2021 21:28:17 +0300 Subject: cmake: use install_pdbs() --- aesxx/utils/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aesxx/utils/CMakeLists.txt b/aesxx/utils/CMakeLists.txt index 235df6c..98b07f1 100644 --- a/aesxx/utils/CMakeLists.txt +++ b/aesxx/utils/CMakeLists.txt @@ -6,9 +6,7 @@ function(add_util name src) target_link_libraries("${target}" PRIVATE aesxx Boost::disable_autolinking Boost::filesystem Boost::program_options) set_target_properties("${target}" PROPERTIES OUTPUT_NAME "${name}") install(TARGETS "${target}" RUNTIME DESTINATION bin) - if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - install(FILES "$" DESTINATION bin OPTIONAL) - endif() + install_pdbs(TARGETS "${target}" DESTINATION bin) endfunction() set(block_util_headers block_cmd_parser.hpp block_dumper.hpp block_input.hpp data_parsers.hpp helpers/command_line.hpp) -- cgit v1.2.3