diff options
Diffstat (limited to 'um/service')
-rw-r--r-- | um/service/utils/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
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 "$<TARGET_PDB_FILE:${target}>" DESTINATION bin OPTIONAL) - endif() + install_pdbs(TARGETS "${target}" DESTINATION bin) endfunction() add_util(install install_service.cpp) |