From ab3cb84648bb7db03d45cfa7ad0b563f55a67e8e Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Mon, 28 Dec 2020 02:14:39 +0100 Subject: [PATCH] refs #71, trying to silence deprectated errors --- cmake/GhcHelper.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()