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>2011-09-06 03:40:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-06 03:40:52 +0400
commit0991bed4139e4a77ba81514ad1dfb6a852a41fa5 (patch)
treec7690de5234a172ed4989ed988754776ddc41162 /intern/opennl
parent0c992c73a1d85ad63ad80cc93c3e716577f5566e (diff)
fix some complier warnings and add -Wundef to CMake's default GCC warnings.
Diffstat (limited to 'intern/opennl')
-rw-r--r--intern/opennl/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/opennl/CMakeLists.txt b/intern/opennl/CMakeLists.txt
index 55b0bc5855f..7d6a579819e 100644
--- a/intern/opennl/CMakeLists.txt
+++ b/intern/opennl/CMakeLists.txt
@@ -31,6 +31,13 @@ remove_strict_flags()
# and debug gives a lot of prints on UV unwrapping. developers can enable if they need to.
remove_flag("-DDEBUG")
+
+# quiet compiler warnings about undefined defines
+add_definitions(
+ -DDEBUGlevel=0
+ -DPRNTlevel=0
+)
+
set(INC
extern
superlu