cmake source definitions:
[blender.git] / source / blender / imbuf / intern / openexr / CMakeLists.txt
index ace4f4f..ca638b8 100644 (file)
@@ -30,10 +30,12 @@ set(INC
        ../..
        ../../../blenkernel
        ../../../blenlib
-       intern/include
        ../../../../../intern/guardedalloc
        ../../../makesdna
-       ${OPENEXR_INC}
+)
+
+set(INC_SYS
+
 )
 
 set(SRC
@@ -41,7 +43,10 @@ set(SRC
 )
 
 if(WITH_IMAGE_OPENEXR)
+       list(APPEND INC_SYS
+               ${OPENEXR_INCLUDE_DIRS}
+       )
        add_definitions(-DWITH_OPENEXR)
 endif()
 
-blender_add_lib(bf_imbuf_openexr "${SRC}" "${INC}")                 
+blender_add_lib(bf_imbuf_openexr "${SRC}" "${INC}" "${INC_SYS}")