cmake: apply ADD_SUBDIR patch.
[blender-staging.git] / source / gameengine / GamePlayer / CMakeLists.txt
index fc5912155cf0c0a626277e9941c1e8cf0994288b..134f8fce3b2f8fbb69695d875fb2890d88daea3c 100644 (file)
@@ -24,8 +24,9 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SUBDIRS(common ghost)
+ADD_SUBDIRECTORY(common)
+ADD_SUBDIRECTORY(ghost)
 
 IF(WITH_WEBPLUGIN) 
-  SUBDIRS(xembed)
+  ADD_SUBDIRECTORY(xembed)
 ENDIF(WITH_WEBPLUGIN)