[#21753] allowing to compile on FreeBSD 8.0
[blender.git] / extern / CMakeLists.txt
index 45778e235cd7f06522a3b2b812ad0ec6366d035d..35271d24a2d4945bdc1f20fd73e4fbf155c75ed7 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-IF(WITH_GAMEENGINE)
-  SUBDIRS(qhull solid)
-ENDIF(WITH_GAMEENGINE)
-
 IF(WITH_BULLET)
-  SUBDIRS(bullet2)
+       ADD_SUBDIRECTORY(bullet2)
 ENDIF(WITH_BULLET)
 
 IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
-  SUBDIRS(binreloc)
+       ADD_SUBDIRECTORY(binreloc)
 ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
 
-SUBDIRS(glew)
+ADD_SUBDIRECTORY(glew)
 
 IF(WITH_OPENJPEG)
-  SUBDIRS(libopenjpeg)
+       ADD_SUBDIRECTORY(libopenjpeg)
 ENDIF(WITH_OPENJPEG)
+
+IF(WITH_LZO)
+       ADD_SUBDIRECTORY(lzo)
+ENDIF(WITH_LZO)
+
+IF(WITH_LZMA)
+       ADD_SUBDIRECTORY(lzma)
+ENDIF(WITH_LZMA)