From d0f999b27218cd800fa0307e695a38823db228ea Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 21 Jan 2008 13:11:11 +0000 Subject: [PATCH] don't be too pedantic for squirrel sources SVN-Revision: 5292 --- src/squirrel/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/squirrel/CMakeLists.txt b/src/squirrel/CMakeLists.txt index 766685b49..1690c9921 100644 --- a/src/squirrel/CMakeLists.txt +++ b/src/squirrel/CMakeLists.txt @@ -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 -- 2.11.0