projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1e736
)
Added -Wno-unused-parameter to disable annoying compiler warning
author
Ingo Ruhnke
<grumbel@gmail.com>
Wed, 30 Jul 2014 03:11:25 +0000
(
05:11
+0200)
committer
Ingo Ruhnke
<grumbel@gmail.com>
Wed, 30 Jul 2014 03:11:25 +0000
(
05:11
+0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
824db54
..
1add6ff
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-240,7
+240,7
@@
IF(CMAKE_COMPILER_IS_GNUCC)
SET(CMAKE_CXX_FLAGS_PROFILE "-pg" CACHE STRING "Profile flags")
SET(CMAKE_C_FLAGS_PROFILE "-pg" CACHE STRING "Profile flags")
SET(CMAKE_LD_FLAGS_PROFILE "-lgmon" CACHE STRING "Profile flags")
- ADD_DEFINITIONS(-Wall -Wextra -funit-at-a-time)
+ ADD_DEFINITIONS(-Wall -Wextra -
Wno-unused-parameter -
funit-at-a-time)
IF(WERROR)
ADD_DEFINITIONS(-Werror)
ELSE(WERROR)