diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-14 20:36:13 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-14 20:36:13 +0300 |
commit | 2ecb371950a12e77a8ffce36b2a8d812d0937fb9 (patch) | |
tree | e5519c24cb804e40cb4dee34fc0adfa5c9a18bfb /CMakeLists.txt | |
parent | 8eb035f64f6478418705fdbe2a6c0a28969febdb (diff) |
Removed a second declaration for BLI_uniquename.
Also supressed cmake/gcc warnings about unused parameters since these are everywhere (sometimes with good reason, for callbacks)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 145528af752..85e4b862bf7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -197,7 +197,7 @@ IF(UNIX) SET(PLATFORM_LINKFLAGS "-pthread") # Better warnings - SET(C_WARNINGS "-Wall -Wno-char-subscripts -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wredundant-decls -Wdeclaration-after-statement") + SET(C_WARNINGS "-Wall -Wno-char-subscripts -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wredundant-decls -Wdeclaration-after-statement -Wno-unused-parameter") INCLUDE_DIRECTORIES(/usr/include /usr/local/include) ENDIF(UNIX) |