diff options
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) |