Comment out -Werror as rpm will compile with -O2 - this results in warnings
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 29 Apr 2011 09:02:13 +0000 (11:02 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 29 Apr 2011 09:02:13 +0000 (11:02 +0200)
CMakeLists.txt

index cd7ea83..d6d6092 100644 (file)
@@ -25,7 +25,7 @@ set(CMAKE_BUILD_TYPE Debug)
 # compiler: add definitions and arguments to the compiler
 add_definitions(
     -Wall -Wextra -Weffc++ -Wshadow -Wcast-qual -Wconversion -pedantic
-    -Werror
+    #-Werror
     #-O2
     -DVERSION_STRING=${VERSION}
     -DPROJECT_NAME=\"${PROJECT_NAME}\"