X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsquirrel%2FCMakeLists.txt;h=1690c99211b0203cd7df900f6657454d2f553fc6;hb=a39f0e0a71a24498f645bfe9fcc9e1525ff3b830;hp=766685b49b85dbfead1660b09aaa124498fe0906;hpb=fea3446f05e1e7673607b835c269d3e8d1929ab3;p=supertux.git 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