aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 21:28:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 21:28:54 +0300
commit6ea026fc2d8d8b4a699203a95efe04185b105628 (patch)
tree99f7998da7cbac23b3186d8e43b2da2a0be13cf3
parentupdate cmake-common (diff)
downloadprivilege-check-6ea026fc2d8d8b4a699203a95efe04185b105628.tar.gz
privilege-check-6ea026fc2d8d8b4a699203a95efe04185b105628.zip
cmake: use install_pdbs()
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 00ce324..6c1e904 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,8 +31,6 @@ if(MINGW)
endif()
install(TARGETS privilege_check RUNTIME DESTINATION bin)
-if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
- install(FILES "$<TARGET_PDB_FILE:privilege_check>" DESTINATION bin OPTIONAL)
-endif()
+install_pdbs(TARGETS privilege_check DESTINATION bin)
install(FILES README.md LICENSE.txt DESTINATION share)