diff options
Diffstat (limited to 'source/blender/imbuf/intern/openexr/CMakeLists.txt')
-rw-r--r-- | source/blender/imbuf/intern/openexr/CMakeLists.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/source/blender/imbuf/intern/openexr/CMakeLists.txt b/source/blender/imbuf/intern/openexr/CMakeLists.txt index cfc977ff155..ace4f4f9a65 100644 --- a/source/blender/imbuf/intern/openexr/CMakeLists.txt +++ b/source/blender/imbuf/intern/openexr/CMakeLists.txt @@ -24,13 +24,11 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(SRC openexr_api.cpp) - -SET(INC +set(INC . - ../../../blenkernel - ../../ .. + ../.. + ../../../blenkernel ../../../blenlib intern/include ../../../../../intern/guardedalloc @@ -38,8 +36,12 @@ SET(INC ${OPENEXR_INC} ) -IF(WITH_IMAGE_OPENEXR) - ADD_DEFINITIONS(-DWITH_OPENEXR) -ENDIF(WITH_IMAGE_OPENEXR) +set(SRC + openexr_api.cpp +) + +if(WITH_IMAGE_OPENEXR) + add_definitions(-DWITH_OPENEXR) +endif() -BLENDERLIB(bf_openexr "${SRC}" "${INC}") +blender_add_lib(bf_imbuf_openexr "${SRC}" "${INC}") |