bump python requirement to 3.3
[blender.git] / source / blender / CMakeLists.txt
index a0d840b5de6362f6978ee3cbe2a4fb69bb811a55..ae3f3dce396d2abc6a1d83b683ad69a31de4c915 100644 (file)
@@ -89,25 +89,28 @@ set(SRC_DNA_INC
        ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_mask_types.h
 )
 
+add_subdirectory(datatoc)
 add_subdirectory(editors)
 add_subdirectory(windowmanager)
 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)
 add_subdirectory(modifiers)
 add_subdirectory(makesdna)
 add_subdirectory(makesrna)
 
+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()
@@ -120,6 +123,10 @@ if(WITH_IMAGE_CINEON)
        add_subdirectory(imbuf/intern/cineon)
 endif()
 
+if(WITH_CODEC_AVI)
+       add_subdirectory(avi)
+endif()
+
 if(WITH_CODEC_QUICKTIME)
        add_subdirectory(quicktime)
 endif()