1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-05 16:31:01 +02:00

dEfine DOCTEST_CONFIG_USE_STD_HEADERS globally

This commit is contained in:
cvelth 2020-04-24 13:18:20 +03:00
parent 696f83de8e
commit 27bdaa3f3e
2 changed files with 1 additions and 4 deletions

View file

@ -48,6 +48,7 @@ if (NOT TEST_INSTALLED_VERSION)
target_compile_options(Greeter PUBLIC -Wall -pedantic -Wextra -Werror)
elseif(MSVC)
target_compile_options(Greeter PUBLIC /W4 /WX)
target_compile_definitions(GreeterTests PUBLIC DOCTEST_CONFIG_USE_STD_HEADERS)
endif()
endif()