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:
Diffstat (limited to 'source/blender/CMakeLists.txt')
-rw-r--r--source/blender/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/CMakeLists.txt b/source/blender/CMakeLists.txt
index e9bae71feec..1b9533bbd8c 100644
--- a/source/blender/CMakeLists.txt
+++ b/source/blender/CMakeLists.txt
@@ -96,12 +96,10 @@ add_subdirectory(blenkernel)
add_subdirectory(blenlib)
add_subdirectory(bmesh)
add_subdirectory(render)
-add_subdirectory(compositor)
add_subdirectory(blenfont)
add_subdirectory(blenloader)
add_subdirectory(ikplugin)
add_subdirectory(gpu)
-add_subdirectory(opencl)
add_subdirectory(imbuf)
add_subdirectory(avi)
add_subdirectory(nodes)
@@ -110,6 +108,11 @@ add_subdirectory(makesdna)
add_subdirectory(makesrna)
ADD_SUBDIRECTORY(freestyle)
+if(WITH_COMPOSITOR)
+ add_subdirectory(opencl) # later on this may be used more generally
+ add_subdirectory(compositor)
+endif()
+
if(WITH_IMAGE_OPENEXR)
add_subdirectory(imbuf/intern/openexr)
endif()