From: Matthias Braun Date: Mon, 21 Jan 2008 13:11:11 +0000 (+0000) Subject: don't be too pedantic for squirrel sources X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d0f999b27218cd800fa0307e695a38823db228ea;p=supertux.git don't be too pedantic for squirrel sources SVN-Revision: 5292 --- 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