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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-10-31 15:31:15 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-10-31 15:31:15 +0300
commit12812e494f63b0c7e5ffcb30c67ca88be9e34513 (patch)
tree7a1fc63c003248ff7a5bfed1860891862672e82c /source/gameengine/GamePlayer/ghost/CMakeLists.txt
parent89ceb3b87a1ab08c6ee56fdb8bfd7fa633af8ace (diff)
Fix cmake building of blender player.
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/CMakeLists.txt')
-rw-r--r--source/gameengine/GamePlayer/ghost/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/ghost/CMakeLists.txt b/source/gameengine/GamePlayer/ghost/CMakeLists.txt
index b6e381359df..e02a8a53ba2 100644
--- a/source/gameengine/GamePlayer/ghost/CMakeLists.txt
+++ b/source/gameengine/GamePlayer/ghost/CMakeLists.txt
@@ -70,4 +70,9 @@ IF(WITH_FFMPEG)
ADD_DEFINITIONS(-DWITH_FFMPEG)
ENDIF(WITH_FFMPEG)
+IF(WITH_PYTHON)
+ LIST(APPEND INC ${PYTHON_INC})
+ ADD_DEFINITIONS(-DWITH_PYTHON)
+ENDIF(WITH_PYTHON)
+
BLENDERLIB_NOLIST(gp_ghost "${SRC}" "${INC}")