* Fixed a minor CMake error for WITH_YAFRAY option
[blender.git] / source / blender / render / CMakeLists.txt
index c259e11a8c1373fa4a49b91d47cde09e1fe41d2e..5465600d22be8b4083dc3e650841bb70d11679bc 100644 (file)
@@ -34,7 +34,7 @@ SET(INC
 
 IF(NOT WITH_YAFRAY)
   ADD_DEFINITIONS(-DDISABLE_YAFRAY)
-ENDIF(WITH_YAFRAY)
+ENDIF(NOT WITH_YAFRAY)
 
 
 IF(WITH_OPENEXR)