fix some complier warnings and add -Wundef to CMake's default GCC warnings.
[blender.git] / intern / opennl / CMakeLists.txt
index 55b0bc5855fa7b94b87a4395b4e75cf5f318350a..7d6a579819e8e491d3bd454c5a2de557ee61af19 100644 (file)
@@ -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