Merge with trunk r37546
[blender-staging.git] / source / blender / modifiers / CMakeLists.txt
index c9243b29451c0429ff44151f93d354fceb9477b7..206cbc3f2bdc0ee8a49fbdbcee332dd8abe8f679 100644 (file)
@@ -34,6 +34,9 @@ set(INC
        ../render/extern/include
        ../../../intern/guardedalloc
        ../../../intern/elbeem/extern
        ../render/extern/include
        ../../../intern/guardedalloc
        ../../../intern/elbeem/extern
+)
+
+set(INC_SYS
        ${ZLIB_INCLUDE_DIRS}
 )
 
        ${ZLIB_INCLUDE_DIRS}
 )
 
@@ -89,7 +92,9 @@ if(WITH_MOD_BOOLEAN)
        list(APPEND SRC
                intern/MOD_boolean_util.c
        )
        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)
 endif()
 
 if(WITH_MOD_DECIMATE)
@@ -101,4 +106,4 @@ if(NOT WITH_MOD_FLUID)
        add_definitions(-DDISABLE_ELBEEM)
 endif()
 
        add_definitions(-DDISABLE_ELBEEM)
 endif()
 
-blender_add_lib(bf_modifiers "${SRC}" "${INC}")
+blender_add_lib(bf_modifiers "${SRC}" "${INC}" "${INC_SYS}")