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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-04-21 11:39:52 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-04-21 11:39:52 +0300
commitd739889cb9d6266e40d3dee9366f9c26731acfb2 (patch)
tree82baf68b76311384e2b9a8f86a61f3135de5ed22 /CMakeLists.txt
parent944ac62ad16266cce859b65c5323418e0c852599 (diff)
Alembic: Make alembic's HDF5 library optional
This way blender will be happy about alembic compiled without HDF5 support.
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 9d6cfd296ff..5984e04eefb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1143,6 +1143,10 @@ if(UNIX AND NOT APPLE)
if(WITH_ALEMBIC)
find_package_wrapper(Alembic)
set(ALEMBIC_LIBRARIES ${ALEMBIC_LIBRARIES} ${BOOST_LIBRARIES})
+ if(NOT ALEMBIC_HDF5_FOUND)
+ message(STATUS "Alembic is compiled without HDF5 support, disabling HDF5 options")
+ set(WITH_HDF5 OFF)
+ endif()
endif()
if(WITH_HDF5)