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()

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to