aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/service/utils
diff options
context:
space:
mode:
Diffstat (limited to 'um/service/utils')
-rw-r--r--um/service/utils/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/um/service/utils/CMakeLists.txt b/um/service/utils/CMakeLists.txt
index 95a3e48..0557f95 100644
--- a/um/service/utils/CMakeLists.txt
+++ b/um/service/utils/CMakeLists.txt
@@ -7,7 +7,10 @@ function(add_util action src)
set_target_properties("${target}" PROPERTIES OUTPUT_NAME "${name}")
install(TARGETS "${target}" RUNTIME DESTINATION bin)
- install_pdbs(TARGETS "${target}" DESTINATION bin)
+ if(MSVC)
+ install(FILES $<TARGET_PDB_FILE:${target}>
+ DESTINATION bin OPTIONAL)
+ endif()
endfunction()
add_util(install install_service.cpp)