diff options
Diffstat (limited to 'test/unit_tests/CMakeLists.txt')
-rw-r--r-- | test/unit_tests/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index 16da801..7f1045b 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -10,8 +10,6 @@ find_package(Boost 1.67.0 REQUIRED COMPONENTS unit_test_framework) target_link_libraries(unit_tests PRIVATE Boost::disable_autolinking Boost::unit_test_framework) install(TARGETS unit_tests RUNTIME DESTINATION bin) -if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - install(FILES "$<TARGET_PDB_FILE:unit_tests>" DESTINATION bin OPTIONAL) -endif() +install_pdbs(TARGETS unit_tests DESTINATION bin) add_test(NAME unit_tests COMMAND unit_tests --no_color_output) |