diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 21:28:54 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 21:28:54 +0300 |
commit | 6ea026fc2d8d8b4a699203a95efe04185b105628 (patch) | |
tree | 99f7998da7cbac23b3186d8e43b2da2a0be13cf3 | |
parent | update cmake-common (diff) | |
download | privilege-check-6ea026fc2d8d8b4a699203a95efe04185b105628.tar.gz privilege-check-6ea026fc2d8d8b4a699203a95efe04185b105628.zip |
cmake: use install_pdbs()
-rw-r--r-- | CMakeLists.txt | 4 |
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) |