projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9751014
)
Suppress more warnings in libtiff
author
Andrey Kamaev
<andrey.kamaev@itseez.com>
Tue, 23 Oct 2012 11:04:38 +0000
(15:04 +0400)
committer
Andrey Kamaev
<andrey.kamaev@itseez.com>
Tue, 23 Oct 2012 14:20:07 +0000
(18:20 +0400)
3rdparty/libtiff/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/3rdparty/libtiff/CMakeLists.txt
b/3rdparty/libtiff/CMakeLists.txt
index
dedcc39
..
25ff0d9
100644
(file)
--- a/
3rdparty/libtiff/CMakeLists.txt
+++ b/
3rdparty/libtiff/CMakeLists.txt
@@
-95,6
+95,8
@@
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4244) # vs2008
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4267 /wd4305 /wd4306) # vs2008 Win64
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4703) # vs2012
+ocv_warnings_disable(CMAKE_C_FLAGS /wd4267 /wd4244 /wd4018)
+
if(UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR CV_ICC))
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
endif()