From fc0f41756ef87b9464b59907bcc4143d2b40ba5f Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Thu, 19 Apr 2012 02:12:39 +0000 Subject: [PATCH] Fix for disabling noisy opennl output. More info from bf-committers: http://lists.blender.org/pipermail/bf-committers/2012-April/036339.html --- intern/opennl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/opennl/CMakeLists.txt b/intern/opennl/CMakeLists.txt index 231802b31f2..322428386b1 100644 --- a/intern/opennl/CMakeLists.txt +++ b/intern/opennl/CMakeLists.txt @@ -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