From bf5602a8cf0ed86fd37191824c1323a9d17ed415 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 24 Mar 2021 21:26:58 +0300 Subject: cmake: use install_pdbs() --- test/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 43b4d4d..3b61d11 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,8 +2,6 @@ add_executable(echo echo.cpp) set_target_properties(echo PROPERTIES OUTPUT_NAME winapi-common-test-echo) install(TARGETS echo RUNTIME DESTINATION bin) -if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - install(FILES "$" DESTINATION bin OPTIONAL) -endif() +install_pdbs(TARGETS echo DESTINATION bin) add_subdirectory(unit_tests) -- cgit v1.2.3