am7xxx: support other devices which talk the same protocol
[libam7xxx.git] / CMakeLists.txt
index 199bc80..be8e4e7 100644 (file)
@@ -71,7 +71,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
     )
 endif()
 
-set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG=1")
+set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG=1 -Werror")
 set(CMAKE_C_FLAGS_RELEASE "-O2")
 set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g")