dont build blender/kernel if the game engines disabled.
[blender.git] / source / creator / CMakeLists.txt
index 6d43e13718f83c520eba9967beaea8e0602e9aba..c32329e20ffda4cee9fad1ca300c5b3d47299fda 100644 (file)
@@ -78,6 +78,10 @@ ELSE(WITH_PYTHON)
        ADD_DEFINITIONS(-DDISABLE_PYTHON)
 ENDIF(WITH_PYTHON)
 
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
 IF(NOT WITH_SDL)
        ADD_DEFINITIONS(-DDISABLE_SDL)
 ENDIF(NOT WITH_SDL)