From ae5e1f8eceebeb51365660cb5290becf864e3b45 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 8 Dec 2017 18:47:47 +0300 Subject: [PATCH] 3rdparty: eliminate jasper build warning --- 3rdparty/libjasper/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/3rdparty/libjasper/CMakeLists.txt b/3rdparty/libjasper/CMakeLists.txt index 01bab32..617e11d 100644 --- a/3rdparty/libjasper/CMakeLists.txt +++ b/3rdparty/libjasper/CMakeLists.txt @@ -25,7 +25,9 @@ endif(WIN32 AND NOT MINGW) ocv_warnings_disable(CMAKE_C_FLAGS -Wno-implicit-function-declaration -Wno-uninitialized -Wmissing-prototypes -Wno-unused-but-set-parameter -Wmissing-declarations -Wunused -Wshadow - -Wsign-compare -Wstrict-overflow -Wpointer-compare) + -Wsign-compare -Wstrict-overflow -Wpointer-compare + -Wabsolute-value # clang on Linux +) ocv_warnings_disable(CMAKE_C_FLAGS -Wunused-parameter -Wstrict-prototypes) # clang ocv_warnings_disable(CMAKE_C_FLAGS /wd4013 /wd4018 /wd4101 /wd4244 /wd4267 /wd4715) # vs2005 -- 2.7.4