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:
authorCampbell Barton <ideasman42@gmail.com>2012-06-30 18:14:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-30 18:14:22 +0400
commit90dc1d1353ec85b67e76a3c93eacf7f7216deaae (patch)
treec2836de60cbf5beef1dd7002f105189d6b4f2fa1 /source/blender/nodes/CMakeLists.txt
parente6d55c97ddea01ba08c9f01888adf715ab2c6ef0 (diff)
the compositor optional for cmake: WITH_COMPOSITOR
Diffstat (limited to 'source/blender/nodes/CMakeLists.txt')
-rw-r--r--source/blender/nodes/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/nodes/CMakeLists.txt b/source/blender/nodes/CMakeLists.txt
index 2415c7842a7..ce5ce1d87c1 100644
--- a/source/blender/nodes/CMakeLists.txt
+++ b/source/blender/nodes/CMakeLists.txt
@@ -35,7 +35,6 @@ set(INC
../makesrna
../render/extern/include
../../../intern/guardedalloc
- ../compositor
)
set(INC_SYS
@@ -243,4 +242,11 @@ if(WITH_IMAGE_OPENEXR)
add_definitions(-DWITH_OPENEXR)
endif()
+if(WITH_COMPOSITOR)
+ list(APPEND INC
+ ../compositor
+ )
+ add_definitions(-DWITH_COMPOSITOR)
+endif()
+
blender_add_lib(bf_nodes "${SRC}" "${INC}" "${INC_SYS}")