From 6ea026fc2d8d8b4a699203a95efe04185b105628 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 24 Mar 2021 21:28:54 +0300 Subject: cmake: use install_pdbs() --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 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 "$" DESTINATION bin OPTIONAL) -endif() +install_pdbs(TARGETS privilege_check DESTINATION bin) install(FILES README.md LICENSE.txt DESTINATION share) -- cgit v1.2.3