cmake: apply ADD_SUBDIR patch.
[blender-staging.git] / source / blender / blenkernel / CMakeLists.txt
index 27be1b45779a73b2e8f44d5fa43bc3a5c54e7f9a..3a8058b2b215ea3fe555b2c6ae3c301e88dfb1be 100644 (file)
@@ -66,7 +66,7 @@ IF(WITH_FFMPEG)
 ENDIF(WITH_FFMPEG)
 
 IF(WITH_PLAYER)
-  SUBDIRS(bad_level_call_stubs)
+  ADD_SUBDIRECTORY(bad_level_call_stubs)
 ENDIF(WITH_PLAYER)
 
 BLENDERLIB(bf_blenkernel "${SRC}" "${INC}")