diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-31 03:56:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-31 03:56:46 +0300 |
commit | 7f5abb7fe2681d8f72d1d29c6567077b70351112 (patch) | |
tree | d3ca63fdbd363635831e171c9313fb794b391547 /source/blender/windowmanager/CMakeLists.txt | |
parent | b349f7c99d770673cfd27b3ce7de311db33d6b3f (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.txt | 4 |
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) |