Skip to content

Commit

Permalink
remove warning-as-error if tests are going to be build
Browse files Browse the repository at this point in the history
  • Loading branch information
Arniiiii committed Oct 2, 2024
1 parent 672894f commit fa58fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit fa58fc1

Please sign in to comment.