code cleanup:
[blender.git] / source / blender / imbuf / CMakeLists.txt
index 4c8a79e6372a6b55a9dd3d2d77016aaa53277451..aa4454562b443d1279e92c279e59a69b6f2ce954 100644 (file)
@@ -104,6 +104,10 @@ set(SRC
 
 if(WITH_IMAGE_OPENEXR)
        add_definitions(-DWITH_OPENEXR)
+else()
+       list(APPEND SRC
+               intern/openexr/openexr_stub.cpp
+       )
 endif()
 
 if(WITH_IMAGE_TIFF)
@@ -176,4 +180,10 @@ if(WITH_IMAGE_HDR)
        add_definitions(-DWITH_HDR)
 endif()
 
+if(WIN32)
+       list(APPEND INC
+               ../../../intern/utfconv
+       )
+endif()
+
 blender_add_lib(bf_imbuf "${SRC}" "${INC}" "${INC_SYS}")