define UNUSED() locally for mmap_win
[blender.git] / intern / CMakeLists.txt
index d64029a66718313e8d6bb8f8ef180cab485e0363..a497d8f2078c3c3f51638788308f3ce0219eb467 100644 (file)
@@ -29,17 +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(itasc)
-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)
 
-ADD_SUBDIRECTORY(bsp)
+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)