git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1361ce7
)
Make it possible to disable WERROR.
author
stig
<stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 8 Nov 2009 16:59:15 +0000
(16:59 +0000)
committer
stig
<stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 8 Nov 2009 16:59:15 +0000
(16:59 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30864
f5534014
-38df-0310-8fa8-
9805f1628bb7
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 9dcd81dc4c02d8b236db2c6be7281607a7d610a8..77712d2883fee7d1f9508e1312cd0de5bf84037c 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-164,6
+164,8
@@
endforeach()
if(NOT DISABLE_WERROR AND NOT ENABLE_EXTRA_GCC_CHECKS)
check_c_compiler_flag(-Werror WERROR)
+else()
+ set(WERROR 0)
endif()
if(CMAKE_COMPILER_IS_GNUCC)