Silence C4505 warning for Visual Studio 2017 CL 19.13

This commit is contained in:
Gaute Lindkvist 2018-11-08 10:16:58 +01:00
parent 4f0e818009
commit 30f5a76ee4

View File

@ -290,7 +290,7 @@ if (MSVC)
# set_target_properties(ResInsight PROPERTIES COMPILE_FLAGS "/W4 /wd4190 /wd4100 /wd4127")
set_target_properties(ResInsight PROPERTIES COMPILE_FLAGS "/W4 /wd4190 /wd4100 /wd4127 /wd4245")
if (CMAKE_CXX_COMPILER_VERSION LESS_EQUAL 19.11)
if (CMAKE_CXX_COMPILER_VERSION LESS_EQUAL 19.14)
# The following warning is generated over 800 times from a qwt header only using VS2015
# Disabling temporarily
# warning C4505 'function' : unreferenced local function has been removed