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:
authorCampbell Barton <ideasman42@gmail.com>2015-06-13 21:52:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-13 21:53:10 +0300
commit75a86d6a8e48c988294303a2390a0c7b86cca417 (patch)
tree6d4c613fa94c2f13126caa7418c9bf96d83b8f9f /source/gameengine/Expressions
parenta1ac42f5ebbe965743182f5b0e0876dbeed00156 (diff)
Fix for building without Python
Diffstat (limited to 'source/gameengine/Expressions')
-rw-r--r--source/gameengine/Expressions/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/gameengine/Expressions/CMakeLists.txt b/source/gameengine/Expressions/CMakeLists.txt
index 48c10d75a17..f827a9528b4 100644
--- a/source/gameengine/Expressions/CMakeLists.txt
+++ b/source/gameengine/Expressions/CMakeLists.txt
@@ -55,7 +55,6 @@ set(SRC
StringValue.cpp
Value.cpp
VectorValue.cpp
- KX_PythonCallBack.cpp
BoolValue.h
ConstExpr.h
@@ -78,7 +77,14 @@ set(SRC
Value.h
VectorValue.h
VoidValue.h
- KX_PythonCallBack.h
)
+if(WITH_PYTHON)
+ list(APPEND SRC
+ KX_PythonCallBack.cpp
+
+ KX_PythonCallBack.h
+ )
+endif()
+
blender_add_lib(ge_logic_expressions "${SRC}" "${INC}" "${INC_SYS}")