From e4bc69ee20aac36860407c687969fbd6c72771d9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 24 Mar 2021 21:30:19 +0300 Subject: cmake: use install_pdbs() --- server/main/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'server') diff --git a/server/main/CMakeLists.txt b/server/main/CMakeLists.txt index 0111e4b..22853a7 100644 --- a/server/main/CMakeLists.txt +++ b/server/main/CMakeLists.txt @@ -21,6 +21,4 @@ target_link_libraries(server PRIVATE Boost::program_options) install(TARGETS server RUNTIME DESTINATION bin) -if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - install(FILES "$" DESTINATION bin OPTIONAL) -endif() +install_pdbs(TARGETS server DESTINATION bin) -- cgit v1.2.3