Experimental option to build blender as a python module, rather then blender embeddin...
[blender.git] / source / blender / python / intern / CMakeLists.txt
index 5d1a086bc7579c6dc32846c7565f68884cd93498..b73c9949ada7824cd6b34dc4069fe1b189c8844f 100644 (file)
@@ -67,4 +67,8 @@ if(WITH_BUILDINFO)
        add_definitions(-DBUILD_DATE)
 endif()
 
+if(WITH_PYTHON_MODULE)
+       add_definitions(-DWITH_PYTHON_MODULE)
+endif()
+
 blender_add_lib(bf_python "${SRC}" "${INC}")