Stop build process if a warning shows up
authorReto Schneider <github@reto-schneider.ch>
Sat, 21 Jan 2012 15:15:50 +0000 (16:15 +0100)
committerReto Schneider <github@reto-schneider.ch>
Sat, 21 Jan 2012 15:15:50 +0000 (16:15 +0100)
CMakeLists.txt

index 199bc80..8c9b1c1 100644 (file)
@@ -45,6 +45,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
   add_flags(CMAKE_C_FLAGS
     -fno-common
     -Wall
+    -Werror
     -Wextra
     -Wformat=2
     -Winit-self