Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-07-03 19:03:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-03 19:03:13 +0400
commit37b4e2af7714fc98fb2a7f274bb1197b5226bb4b (patch)
treeb048f88de1e31b85a35a744166883e9eeacd7fb7 /CMakeLists.txt
parent0b939f9ea7f11d62b2dbb8f5bd8f0cdbddbacde1 (diff)
cmake: disable openexr if its not found (rather then throwing an error)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59e4b798a6b..82c57c014fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -228,6 +228,10 @@ IF(UNIX AND NOT APPLE)
/opt/include/OpenEXR
)
SET(OPENEXR_LIB Half IlmImf Iex Imath)
+
+ IF(NOT OPENEXR_INC)
+ SET(WITH_OPENEXR OFF)
+ ENDIF(NOT OPENEXR_INC)
ENDIF(WITH_OPENEXR)
IF(WITH_TIFF)