aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-05-17 18:21:19 +0200
committerEgor Tensin <egor@tensin.name>2026-05-17 19:16:16 +0200
commit5938c4a524354b6b7591b8d9beab3151cb009fe8 (patch)
tree61cb1bd8ba7001a5a894333645a665116acfc849 /test/unit_tests/CMakeLists.txt
parentworkflows/ci: remove on: pull_request (diff)
downloadwinapi-debug-5938c4a524354b6b7591b8d9beab3151cb009fe8.tar.gz
winapi-debug-5938c4a524354b6b7591b8d9beab3151cb009fe8.zip
upgrade dependenciespre-c++20
Diffstat (limited to '')
-rw-r--r--test/unit_tests/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt
index 93b7b8b..958eb92 100644
--- a/test/unit_tests/CMakeLists.txt
+++ b/test/unit_tests/CMakeLists.txt
@@ -7,7 +7,9 @@ target_link_libraries(unit_tests PRIVATE
Boost::filesystem
Boost::unit_test_framework)
install(TARGETS unit_tests RUNTIME DESTINATION bin/test)
-install_pdbs(TARGETS unit_tests DESTINATION bin/test)
+if(MSVC)
+ install(FILES $<TARGET_PDB_FILE:unit_tests> DESTINATION bin/test OPTIONAL)
+endif()
if(MSVC)
# Set the working directory so that the unit_tests binary can find the