Merge of itasc branch. Project files, scons and cmake should be working. Makefile...
[blender.git] / source / CMakeLists.txt
index 04566ec3b0b4fd864a99e3ce0139b523d33668c1..4adc51bcb15d26003743f60f1209ec5c86a663f0 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SUBDIRS(blender kernel)
+ADD_SUBDIRECTORY(blender)
+ADD_SUBDIRECTORY(kernel)
 
 IF(WITH_GAMEENGINE)
-   SUBDIRS(gameengine)
+       ADD_SUBDIRECTORY(gameengine)
 ENDIF(WITH_GAMEENGINE)
        
 IF(WINDOWS)
-   SUBDIRS(icons)
+       ADD_SUBDIRECTORY(icons)
 ENDIF(WINDOWS)