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-27 12:51:16 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-04-27 12:51:16 +0300
commit970f7feed487586da67dd6585d67274b9b83cc93 (patch)
tree3c92d5a59ea0a5755267f655b9050640c2da7903 /CMakeLists.txt
parent757b5249d4ffd347a1da4dc6ec11206b71cdc54a (diff)
Alembic: Minor tweak to disabling hdf5 if alembic does not support it
Mainly just suppresses meaningless message if hdf5 is already disabled in cmake.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5984e04eefb..ea93c1bb4ca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1143,7 +1143,7 @@ if(UNIX AND NOT APPLE)
if(WITH_ALEMBIC)
find_package_wrapper(Alembic)
set(ALEMBIC_LIBRARIES ${ALEMBIC_LIBRARIES} ${BOOST_LIBRARIES})
- if(NOT ALEMBIC_HDF5_FOUND)
+ if(NOT ALEMBIC_HDF5_FOUND AND WITH_HDF5)
message(STATUS "Alembic is compiled without HDF5 support, disabling HDF5 options")
set(WITH_HDF5 OFF)
endif()