From face2ea61266c579002abf8bcab8c4eaed607ffa Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 18 Oct 2017 13:06:23 +0300 Subject: [PATCH] 3rdparty: suppress warnings --- 3rdparty/openexr/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/openexr/CMakeLists.txt b/3rdparty/openexr/CMakeLists.txt index 89118dde13..bb415c6cfa 100644 --- a/3rdparty/openexr/CMakeLists.txt +++ b/3rdparty/openexr/CMakeLists.txt @@ -43,7 +43,7 @@ source_group("Include" FILES ${lib_hdrs} ) source_group("Src" FILES ${lib_srcs}) ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow -Wunused -Wsign-compare -Wundef -Wmissing-declarations -Wuninitialized -Wswitch -Wparentheses -Warray-bounds -Wextra - -Wdeprecated-declarations -Wmisleading-indentation + -Wdeprecated-declarations -Wmisleading-indentation -Wdeprecated ) ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4018 /wd4099 /wd4100 /wd4101 /wd4127 /wd4189 /wd4245 /wd4305 /wd4389 /wd4512 /wd4701 /wd4702 /wd4706 /wd4800) # vs2005 ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4334) # vs2005 Win64