diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-25 00:38:36 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-25 00:38:36 +0300 |
commit | 0f02cd5c99d6759164a0ab362de4de93fee3c3f5 (patch) | |
tree | e8fae3789837ebb04f9a67c761c999639b9c6530 /um/service/utils/CMakeLists.txt | |
parent | update cmake-common (diff) | |
download | windows7-drivers-0f02cd5c99d6759164a0ab362de4de93fee3c3f5.tar.gz windows7-drivers-0f02cd5c99d6759164a0ab362de4de93fee3c3f5.zip |
cmake: use install_pdbs()
Diffstat (limited to '')
-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) |