Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-10-17 10:38:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-17 10:38:56 +0400
commit30b79ddcc6e2737add3a7ebd49b167c1776e4087 (patch)
tree8fe9bdba84b7b4cbf9f9ad3b55af892e8eed13bf /source/blender/render/CMakeLists.txt
parent28e144db920699a13e6cd196ac91f13e11b2877c (diff)
- fixed remaining unused warnings.
- omit render code from this warning (cmake only), until render branch is merged. - moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).
Diffstat (limited to 'source/blender/render/CMakeLists.txt')
-rw-r--r--source/blender/render/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/render/CMakeLists.txt b/source/blender/render/CMakeLists.txt
index 8e0dbb457e8..e6478098dad 100644
--- a/source/blender/render/CMakeLists.txt
+++ b/source/blender/render/CMakeLists.txt
@@ -24,6 +24,9 @@
#
# ***** END GPL LICENSE BLOCK *****
+# remove warning until render branch merged.
+STRING(REGEX REPLACE "-Wunused-parameter" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
+
FILE(GLOB SRC intern/source/*.c intern/raytrace/*.cpp)
SET(INC