Fix for disabling noisy opennl output.
authorNicholas Bishop <nicholasbishop@gmail.com>
Thu, 19 Apr 2012 02:12:39 +0000 (02:12 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Thu, 19 Apr 2012 02:12:39 +0000 (02:12 +0000)
More info from bf-committers:
http://lists.blender.org/pipermail/bf-committers/2012-April/036339.html

intern/opennl/CMakeLists.txt

index 231802b31f2f1c99e5fe99156ebace091c4cad0a..322428386b1fd1960f8bc3e4d4fe5cbf61d2a379 100644 (file)
@@ -28,7 +28,7 @@ remove_strict_flags()
 
 # remove debug flag here since this is not a blender maintained library
 # and debug gives a lot of prints on UV unwrapping. developers can enable if they need to.
-remove_cc_flag("-DDEBUG")
+add_definitions(-UDEBUG)
 
 
 # quiet compiler warnings about undefined defines