[Bf-blender-cvs] [970f7fe] alembic: Alembic: Minor tweak to disabling hdf5 if alembic does not support it

Sergey Sharybin noreply at git.blender.org
Mon Apr 27 11:54:49 CEST 2015


Commit: 970f7feed487586da67dd6585d67274b9b83cc93
Author: Sergey Sharybin
Date:   Mon Apr 27 14:51:16 2015 +0500
Branches: alembic
https://developer.blender.org/rB970f7feed487586da67dd6585d67274b9b83cc93

Alembic: Minor tweak to disabling hdf5 if alembic does not support it

Mainly just suppresses meaningless message if hdf5 is already disabled in cmake.

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5984e04..ea93c1b 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()




More information about the Bf-blender-cvs mailing list