Add some debugging output to help track down an intermittent problem on
[obnox/wireshark/wip.git] / CMakeLists.txt
index 630c2d754569779bcbe9ca91b9a919d746bbb7f7..0c611d18225c4b0d517d543d97134aebbb274d91 100644 (file)
@@ -182,7 +182,7 @@ endforeach()
 if(NOT DISABLE_WERROR AND NOT ENABLE_EXTRA_GCC_CHECKS)
        check_c_compiler_flag(-Werror WERROR)
 else()
-       set(WERROR 0)
+       unset(WERROR)
 endif()
 
 if(CMAKE_COMPILER_IS_GNUCC)