Merge with trunk r37546
[blender-staging.git] / source / blender / modifiers / CMakeLists.txt
index 7abcb331f08ac0b95e9753c763e87ab9b4bbb125..206cbc3f2bdc0ee8a49fbdbcee332dd8abe8f679 100644 (file)
@@ -34,6 +34,9 @@ set(INC
        ../render/extern/include
        ../../../intern/guardedalloc
        ../../../intern/elbeem/extern
+)
+
+set(INC_SYS
        ${ZLIB_INCLUDE_DIRS}
 )
 
@@ -49,6 +52,7 @@ set(SRC
        intern/MOD_curve.c
        intern/MOD_decimate.c
        intern/MOD_displace.c
+       intern/MOD_dynamicpaint.c
        intern/MOD_edgesplit.c
        intern/MOD_explode.c
        intern/MOD_fluidsim.c
@@ -88,7 +92,9 @@ if(WITH_MOD_BOOLEAN)
        list(APPEND SRC
                intern/MOD_boolean_util.c
        )
-       list(APPEND INC ../../../intern/bsp/extern)
+       list(APPEND INC
+               ../../../intern/bsp/extern
+       )
 endif()
 
 if(WITH_MOD_DECIMATE)
@@ -100,4 +106,4 @@ if(NOT WITH_MOD_FLUID)
        add_definitions(-DDISABLE_ELBEEM)
 endif()
 
-blender_add_lib(bf_modifiers "${SRC}" "${INC}")
+blender_add_lib(bf_modifiers "${SRC}" "${INC}" "${INC_SYS}")