diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 21:28:17 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 21:28:17 +0300 |
commit | 6f7a7af8ab10a4a4fbf86b873a14ea0608edfa1f (patch) | |
tree | bdc4847ab856451f2abf633580d8f51f0f16c6aa /aesxx/utils/CMakeLists.txt | |
parent | test: log to stdout (diff) | |
download | aes-tools-6f7a7af8ab10a4a4fbf86b873a14ea0608edfa1f.tar.gz aes-tools-6f7a7af8ab10a4a4fbf86b873a14ea0608edfa1f.zip |
cmake: use install_pdbs()
Diffstat (limited to 'aesxx/utils/CMakeLists.txt')
-rw-r--r-- | aesxx/utils/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 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 "$<TARGET_PDB_FILE:${target}>" 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) |