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/editors/space_view3d/CMakeLists.txt')
-rw-r--r--source/blender/editors/space_view3d/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/CMakeLists.txt b/source/blender/editors/space_view3d/CMakeLists.txt
index 51477ec2ae7..97c328dbac2 100644
--- a/source/blender/editors/space_view3d/CMakeLists.txt
+++ b/source/blender/editors/space_view3d/CMakeLists.txt
@@ -64,6 +64,11 @@ set(SRC
view3d_intern.h
)
+if(WITH_PYTHON)
+ blender_include_dirs(../../python)
+ add_definitions(-DWITH_PYTHON)
+endif()
+
if(WITH_GAMEENGINE)
list(APPEND INC
../../../gameengine/BlenderRoutines