diff --git a/cmake/GhcHelper.cmake b/cmake/GhcHelper.cmake index 4381b71..8f851fd 100644 --- a/cmake/GhcHelper.cmake +++ b/cmake/GhcHelper.cmake @@ -50,7 +50,7 @@ macro(AddTestExecutableWithStdCpp cppStd) $<$:-s DISABLE_EXCEPTION_CATCHING=0> $<$:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Werror -Wno-error=deprecated-declarations> $<$:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Wno-psabi -Werror -Wno-error=deprecated-declarations> - $<$:/WX>) + $<$:/WX /WD4996>) if(CMAKE_CXX_COMPILER_ID MATCHES MSVC) target_compile_definitions(filesystem_test_cpp${cppStd} PRIVATE _CRT_SECURE_NO_WARNINGS) endif()