diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-09-16 17:08:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-09-16 17:10:41 +0300 |
commit | 0b959458ffc9d253b088fbb61c1b701152c5f71b (patch) | |
tree | 45aac29cafdcd9df8618f09eb99d3d26026db10c /source/blender/imbuf/CMakeLists.txt | |
parent | 2d16622068d4662a24ab58a08f899b5228d5a81a (diff) |
CMake: Don't modify global CFlags when enabling/disabling OpenJpeg
Diffstat (limited to 'source/blender/imbuf/CMakeLists.txt')
-rw-r--r-- | source/blender/imbuf/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/CMakeLists.txt b/source/blender/imbuf/CMakeLists.txt index bdd8230a6ff..295a48dc245 100644 --- a/source/blender/imbuf/CMakeLists.txt +++ b/source/blender/imbuf/CMakeLists.txt @@ -120,7 +120,7 @@ if(WITH_IMAGE_OPENJPEG) intern/jp2.c ) - add_definitions(-DWITH_OPENJPEG) + add_definitions(-DWITH_OPENJPEG ${OPENJPEG_DEFINES}) endif() if(WITH_IMAGE_REDCODE) |