svn merge -r37028:37030 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / bmesh / CMakeLists.txt
index b377e7612d493c106fc7a4eab3701c14e2fd1132..23cf2c714721cb6646aab96ce2b43d7a6499f53f 100644 (file)
@@ -54,6 +54,9 @@ set(INC
        ../../../intern/smoke/extern
        ../../../intern/mikktspace
     ../../../source/blender/windowmanager # XXX - BAD LEVEL CALL WM_api.h
+)
+
+set(INC_SYS
        ${ZLIB_INCLUDE_DIRS}
 )
 
@@ -112,12 +115,12 @@ set(SRC
 add_definitions(-DGLEW_STATIC)
 
 if(WITH_LZO)
-       list(APPEND INC ../../../extern/lzo/minilzo)
+       list(APPEND INC_SYS ../../../extern/lzo/minilzo)
        add_definitions(-DWITH_LZO)
 endif()
 
 if(WITH_LZMA)
-       list(APPEND INC ../../../extern/lzma)
+       list(APPEND INC_SYS ../../../extern/lzma)
        add_definitions(-DWITH_LZMA)
 endif()
 
@@ -125,4 +128,4 @@ if(MSVC)
     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
 endif()
 
-blender_add_lib(bf_bmesh "${SRC}" "${INC}")
+blender_add_lib(bf_bmesh "${SRC}" "${INC}" "${INC_SYS}")