Skip to content

Commit

Permalink
suppress C4819 warning/error from windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
luk036 committed Oct 31, 2021
1 parent 2c37f8e commit 6bc5962
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 @@ -22,7 +22,7 @@ set_target_properties(${PROJECT_NAME}Tests PROPERTIES CXX_STANDARD 17)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
target_compile_options(${PROJECT_NAME} PUBLIC -Wall -Wpedantic -Wextra -Werror)
elseif(MSVC)
target_compile_options(${PROJECT_NAME} PUBLIC /W4 /WX)
target_compile_options(${PROJECT_NAME} PUBLIC /W4 /WX /wd4819)
target_compile_definitions(${PROJECT_NAME}Tests PUBLIC DOCTEST_CONFIG_USE_STD_HEADERS)
endif()

Expand Down

0 comments on commit 6bc5962

Please sign in to comment.