diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-20 17:19:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-20 17:19:21 +0300 |
commit | 8c6c6d01f4b0112a7ad0cc51fa37ed7de8592eac (patch) | |
tree | 0eac1de67a17bd5f0734eafa7e12a7291fccedf5 /source/blender/editors/space_image/CMakeLists.txt | |
parent | 6aea182b1e174a78443672596bc6dcd35cad413a (diff) |
WITH_OPENJPEG wasn't defined for CMake or SCons, which meant blender couldn't save jpeg2000 images from the file selector.
also fixed typo in jp2.c
Diffstat (limited to 'source/blender/editors/space_image/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/space_image/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/CMakeLists.txt b/source/blender/editors/space_image/CMakeLists.txt index c2166164b0a..ca3b1f58305 100644 --- a/source/blender/editors/space_image/CMakeLists.txt +++ b/source/blender/editors/space_image/CMakeLists.txt @@ -40,6 +40,10 @@ SET(SRC space_image.c ) +IF(WITH_IMAGE_OPENJPEG) + ADD_DEFINITIONS(-DWITH_OPENJPEG) +ENDIF(WITH_IMAGE_OPENJPEG) + IF(WITH_IMAGE_OPENEXR) ADD_DEFINITIONS(-DWITH_OPENEXR) ENDIF(WITH_IMAGE_OPENEXR) |