Mango request: added an input node to use track's position in compositor
[blender-staging.git] / source / blender / nodes / CMakeLists.txt
index 146f59c83f64ac43fceef850b5926ee67a872b1b..e8dd4acb63b46499d6423cfff85fcefe569b5aa3 100644 (file)
@@ -35,7 +35,6 @@ set(INC
        ../makesrna
        ../render/extern/include
        ../../../intern/guardedalloc
-       ../compositor
 )
 
 set(INC_SYS
@@ -244,4 +243,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}")