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>2010-10-31 03:56:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-10-31 03:56:46 +0300
commit7f5abb7fe2681d8f72d1d29c6567077b70351112 (patch)
treed3ca63fdbd363635831e171c9313fb794b391547 /source/blender/windowmanager/CMakeLists.txt
parentb349f7c99d770673cfd27b3ce7de311db33d6b3f (diff)
dont build blender/kernel if the game engines disabled.
Diffstat (limited to 'source/blender/windowmanager/CMakeLists.txt')
-rw-r--r--source/blender/windowmanager/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/CMakeLists.txt b/source/blender/windowmanager/CMakeLists.txt
index c39897af68a..efdcd47ea72 100644
--- a/source/blender/windowmanager/CMakeLists.txt
+++ b/source/blender/windowmanager/CMakeLists.txt
@@ -90,6 +90,10 @@ ELSE(WITH_PYTHON)
ADD_DEFINITIONS(-DDISABLE_PYTHON)
ENDIF(WITH_PYTHON)
+IF(WITH_GAMEENGINE)
+ ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
IF(WIN32)
LIST(APPEND INC ${PTHREADS_INC})
ENDIF(WIN32)