[#21753] allowing to compile on FreeBSD 8.0
[blender.git] / extern / CMakeLists.txt
index ee5cab31e092c81012a283c78f879276bfbe34a7..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(WITH_INTERNATIONAL)
-  SUBDIRS(bFTGL)
-ENDIF(WITH_INTERNATIONAL)
-
-IF(WITH_VERSE)
-  SUBDIRS(verse)
-ENDIF(WITH_VERSE)
-
 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)
+       ADD_SUBDIRECTORY(libopenjpeg)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_LZO)
+       ADD_SUBDIRECTORY(lzo)
+ENDIF(WITH_LZO)
 
+IF(WITH_LZMA)
+       ADD_SUBDIRECTORY(lzma)
+ENDIF(WITH_LZMA)