don't be too pedantic for squirrel sources
authorMatthias Braun <matze@braunis.de>
Mon, 21 Jan 2008 13:11:11 +0000 (13:11 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 21 Jan 2008 13:11:11 +0000 (13:11 +0000)
SVN-Revision: 5292

src/squirrel/CMakeLists.txt

index 766685b..1690c99 100644 (file)
@@ -28,6 +28,9 @@ FILE(GLOB SQUIRREL_SOURCES squirrel/*.cpp sqstdlib/*.cpp sqstdlib/*.c)
 ## add additional compiler switches
 
 ADD_DEFINITIONS(-include ${CMAKE_BINARY_DIR}/config.h)
+# the squirrel sources are out of our control so don't be too pedantic about
+# them
+REMOVE_DEFINITIONS(-Werror -W)
 
 ## define a target for building the library