From 9c38cc4a16f9314ca388dc71e3e37558d7c2d2a7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 21 Dec 2019 17:39:31 +0300 Subject: cmake: install() the .PDB file --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 065571c..00ce324 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,4 +31,8 @@ if(MINGW) endif() install(TARGETS privilege_check RUNTIME DESTINATION bin) +if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") + install(FILES "$" DESTINATION bin OPTIONAL) +endif() + install(FILES README.md LICENSE.txt DESTINATION share) -- cgit v1.2.3