From fa58fc14214e8c3cfcfa643865c134472241201e Mon Sep 17 00:00:00 2001 From: Arniiiii Date: Wed, 2 Oct 2024 15:13:52 +0000 Subject: [PATCH] remove warning-as-error if tests are going to be build --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 01224b7..d290c1d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -44,7 +44,7 @@ if(NOT TEST_INSTALLED_VERSION) if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") target_compile_options(fmtlog INTERFACE -Wall -Wpedantic -Wextra) elseif(MSVC) - target_compile_options(fmtlog INTERFACE /W4 /WX) + target_compile_options(fmtlog INTERFACE /W4) # target_compile_definitions(${PROJECT_NAME} PUBLIC DOCTEST_CONFIG_USE_STD_HEADERS) endif() endif()