define UNUSED() locally for mmap_win
[blender.git] / intern / CMakeLists.txt
index acc13fb0e338f6b97da1a3df678e24cd3947e92c..a497d8f2078c3c3f51638788308f3ce0219eb467 100644 (file)
@@ -29,20 +29,25 @@ ADD_SUBDIRECTORY(string)
 ADD_SUBDIRECTORY(ghost)
 ADD_SUBDIRECTORY(guardedalloc)
 ADD_SUBDIRECTORY(moto)
-ADD_SUBDIRECTORY(container)
 ADD_SUBDIRECTORY(memutil)
-ADD_SUBDIRECTORY(decimation)
 ADD_SUBDIRECTORY(iksolver)
-ADD_SUBDIRECTORY(boolop)
 ADD_SUBDIRECTORY(opennl)
 ADD_SUBDIRECTORY(smoke)
 
-IF(WITH_FLUID)
+IF(WITH_MOD_FLUID)
        ADD_SUBDIRECTORY(elbeem)
-ENDIF(WITH_FLUID)
+ENDIF(WITH_MOD_FLUID)
+
+IF(WITH_MOD_DECIMATE)
+       ADD_SUBDIRECTORY(container)
+       ADD_SUBDIRECTORY(decimation)
+ENDIF(WITH_MOD_DECIMATE)
+
+IF(WITH_MOD_BOOLEAN)
+       ADD_SUBDIRECTORY(boolop)
+       ADD_SUBDIRECTORY(bsp)
+ENDIF(WITH_MOD_BOOLEAN)
 
 IF(WITH_IK_ITASC)
        ADD_SUBDIRECTORY(itasc)
 ENDIF(WITH_IK_ITASC)
-
-ADD_SUBDIRECTORY(bsp)