Skip to content

Commit 6bc5962

Browse files
committed
suppress C4819 warning/error from windows build
1 parent 2c37f8e commit 6bc5962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set_target_properties(${PROJECT_NAME}Tests PROPERTIES CXX_STANDARD 17)
2222
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
2323
target_compile_options(${PROJECT_NAME} PUBLIC -Wall -Wpedantic -Wextra -Werror)
2424
elseif(MSVC)
25-
target_compile_options(${PROJECT_NAME} PUBLIC /W4 /WX)
25+
target_compile_options(${PROJECT_NAME} PUBLIC /W4 /WX /wd4819)
2626
target_compile_definitions(${PROJECT_NAME}Tests PUBLIC DOCTEST_CONFIG_USE_STD_HEADERS)
2727
endif()
2828

0 commit comments

Comments
 (0)