From b533666099e0c7c8df824b6dd2dd66fa9107a463 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 20 Dec 2019 15:42:37 +0300 Subject: cmake: install() PDB files --- client/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client') diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index c6016b5..8455f3b 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -14,3 +14,6 @@ target_link_libraries(client PRIVATE Threads::Threads) set_target_properties(client PROPERTIES OUTPUT_NAME math-client) install(TARGETS client RUNTIME DESTINATION bin) +if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") + install(FILES "$" DESTINATION bin OPTIONAL) +endif() -- cgit v1.2.3