From 0f02cd5c99d6759164a0ab362de4de93fee3c3f5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 25 Mar 2021 00:38:36 +0300 Subject: cmake: use install_pdbs() --- um/service/utils/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'um/service/utils') diff --git a/um/service/utils/CMakeLists.txt b/um/service/utils/CMakeLists.txt index 1dd3ec9..95a3e48 100644 --- a/um/service/utils/CMakeLists.txt +++ b/um/service/utils/CMakeLists.txt @@ -7,9 +7,7 @@ function(add_util action src) 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() add_util(install install_service.cpp) -- cgit v1.2.3