From 970f7feed487586da67dd6585d67274b9b83cc93 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 27 Apr 2015 14:51:16 +0500 Subject: Alembic: Minor tweak to disabling hdf5 if alembic does not support it Mainly just suppresses meaningless message if hdf5 is already disabled in cmake. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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() -- cgit v1.2.3