dont build blender/kernel if the game engines disabled.
[blender.git] / source / CMakeLists.txt
index 1f1b1d883bc7da3c644bc6e60f5568d7a02c5d66..a043dbad3b83ed1ebcd409eeb6aab2f57b961714 100644 (file)
@@ -25,9 +25,9 @@
 # ***** END GPL LICENSE BLOCK *****
 
 ADD_SUBDIRECTORY(blender)
-ADD_SUBDIRECTORY(kernel)
 
 IF(WITH_GAMEENGINE)
+       ADD_SUBDIRECTORY(kernel)
        ADD_SUBDIRECTORY(gameengine)
 ENDIF(WITH_GAMEENGINE)