Render API: add update_progress() function to update progress bar progress from
[blender.git] / source / blender / render / CMakeLists.txt
index e2222cad2ea1e38eb58b17fc87c9e6b77597d343..d5b3bd5e3114fc30b6b4915f14ed06cec0820bb6 100644 (file)
@@ -118,6 +118,17 @@ set(SRC
        intern/raytrace/vbvh.h
 )
 
+if(WITH_PYTHON)
+       add_definitions(-DWITH_PYTHON)
+       list(APPEND INC
+               ../python
+       )
+
+       list(APPEND INC_SYS
+               ${PYTHON_INCLUDE_DIRS}
+       )
+endif()
+
 if(WITH_IMAGE_OPENEXR)
        add_definitions(-DWITH_OPENEXR)
 endif()
@@ -136,6 +147,10 @@ if(WITH_CODEC_QUICKTIME)
        add_definitions(-DWITH_QUICKTIME)
 endif()
 
+if(WITH_GAMEENGINE)
+       add_definitions(-DWITH_GAMEENGINE)
+endif()
+
 if(APPLE)
        if(CMAKE_OSX_ARCHITECTURES MATCHES "i386" OR CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
                set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mfpmath=sse")