Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-01-17 06:51:13 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-01-17 06:51:13 +0300
commitee180ff5ac140f5f19d9a00eb2b914760b06dc77 (patch)
tree1e4042211072a921d4b010b0491985a316e196c5 /source/blender/render
parent9b558b21161a7d6c021f5cc0e206a5c6aa7a4ada (diff)
Added new CMake build option, WITH_YAFRAY. Set to disabled by default.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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)