diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 10:56:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 10:56:45 +0300 |
commit | 1dd1cea06e0bb1c9cd1e08fd9f359893dc2681a3 (patch) | |
tree | cad3a7d94daf0b17742bf707d159e6ca867b5cc5 /source/gameengine/CMakeLists.txt | |
parent | 04d374194756516c8b7a15fff99bfa72a2239f75 (diff) |
fix for error when changing DISBALE_PYTHON -> WITH_PYTHON,
This define wasn't set in some parts of the BGE causing problems with the view matrix.
in CMake define for the entire BGE fixes this.
Diffstat (limited to 'source/gameengine/CMakeLists.txt')
-rw-r--r-- | source/gameengine/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/gameengine/CMakeLists.txt b/source/gameengine/CMakeLists.txt index eea600cb0cb..7f8abfec8c5 100644 --- a/source/gameengine/CMakeLists.txt +++ b/source/gameengine/CMakeLists.txt @@ -24,6 +24,12 @@ # # ***** END GPL LICENSE BLOCK ***** +# there are too many inter-includes so best define here +IF(WITH_PYTHON) + INCLUDE_DIRECTORIES(${PYTHON_INC}) + ADD_DEFINITIONS(-DWITH_PYTHON) +ENDIF(WITH_PYTHON) + ADD_SUBDIRECTORY(BlenderRoutines) ADD_SUBDIRECTORY(Converter) ADD_SUBDIRECTORY(Expressions) |