Mac OS X Openvdb, add blosc support.
authorMartijn Berger <martijn.berger@gmail.com>
Fri, 19 Feb 2016 10:24:07 +0000 (02:24 -0800)
committerMartijn Berger <martijn.berger@gmail.com>
Fri, 19 Feb 2016 10:24:16 +0000 (02:24 -0800)
even if WITH_OPENVDB_BLOSC is off openvdb still contains 1 reference to snappy so we link with it always

CMakeLists.txt

index 1603f1f98b2b070a53291b2fab4ceb76b0abf582..3b388ccd5f8b47ab1c119a2d255bf5fab2102794 100644 (file)
@@ -2172,7 +2172,7 @@ elseif(APPLE)
                set(OPENVDB_INCLUDE_DIRS ${OPENVDB}/include)
                set(TBB_INCLUDE_DIRS ${LIBDIR}/tbb/include)
                set(TBB_LIBRARIES ${LIBDIR}/tbb/lib/libtbb.a)
-               set(OPENVDB_LIBRARIES openvdb ${TBB_LIBRARIES})
+               set(OPENVDB_LIBRARIES openvdb blosc ${TBB_LIBRARIES})
                set(OPENVDB_LIBPATH ${LIBDIR}/openvdb/lib)
                set(OPENVDB_DEFINITIONS)
        endif()