dont build blender/kernel if the game engines disabled.
[blender.git] / source / SConscript
index c452f21b8e24efce2a062aa64fb0461407a30075..8d08d9cca0838a1beb04eb2cb8a360440da3fd6e 100644 (file)
@@ -1,11 +1,10 @@
 #!/usr/bin/python
 Import ('env')
 
-SConscript(['blender/SConscript',
-            'kernel/SConscript',
-            'creator/SConscript'])
+SConscript(['blender/SConscript', 'creator/SConscript'])
+
 if env['WITH_BF_GAMEENGINE']:
-    SConscript (['gameengine/SConscript'])
+    SConscript (['kernel/SConscript', 'gameengine/SConscript'])
 
 if env['WITH_BF_PLAYER']:
     SConscript (['blenderplayer/bad_level_call_stubs/SConscript'])