From ee180ff5ac140f5f19d9a00eb2b914760b06dc77 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Sat, 17 Jan 2009 03:51:13 +0000 Subject: Added new CMake build option, WITH_YAFRAY. Set to disabled by default. --- source/blender/render/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/render') diff --git a/source/blender/render/CMakeLists.txt b/source/blender/render/CMakeLists.txt index 0b659554d1a..c259e11a8c1 100644 --- a/source/blender/render/CMakeLists.txt +++ b/source/blender/render/CMakeLists.txt @@ -32,6 +32,11 @@ SET(INC ../quicktime ../include ../../kernel/gen_messaging ../yafray ../blenloader ) +IF(NOT WITH_YAFRAY) + ADD_DEFINITIONS(-DDISABLE_YAFRAY) +ENDIF(WITH_YAFRAY) + + IF(WITH_OPENEXR) ADD_DEFINITIONS(-DWITH_OPENEXR) ENDIF(WITH_OPENEXR) -- cgit v1.2.3