projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed compiler warnings in squirrel (minor stuff, patch is submitted to upstream)
[supertux.git]
/
src
/
squirrel
/
CMakeLists.txt
diff --git
a/src/squirrel/CMakeLists.txt
b/src/squirrel/CMakeLists.txt
index
766685b
..
1690c99
100644
(file)
--- 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)
## 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
## define a target for building the library