aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 21:30:19 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 21:30:19 +0300
commite4bc69ee20aac36860407c687969fbd6c72771d9 (patch)
tree3134b9a9998c492b9c0490d3575f43e58a33888a /server
parentREADME: update (diff)
downloadmath-server-e4bc69ee20aac36860407c687969fbd6c72771d9.tar.gz
math-server-e4bc69ee20aac36860407c687969fbd6c72771d9.zip
cmake: use install_pdbs()
Diffstat (limited to 'server')
-rw-r--r--server/main/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
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 "$<TARGET_PDB_FILE:server>" DESTINATION bin OPTIONAL)
-endif()
+install_pdbs(TARGETS server DESTINATION bin)