[Bf-blender-cvs] [4e35131] master: Mac OS X Openvdb, add blosc support. even if WITH_OPENVDB_BLOSC is off openvdb still contains 1 reference to snappy so we link with it always

Martijn Berger noreply at git.blender.org
Fri Feb 19 11:48:20 CET 2016


Commit: 4e3513160993aa9561ab43ab2d84aef3b9623733
Author: Martijn Berger
Date:   Fri Feb 19 02:24:07 2016 -0800
Branches: master
https://developer.blender.org/rB4e3513160993aa9561ab43ab2d84aef3b9623733

Mac OS X Openvdb, add blosc support.
even if WITH_OPENVDB_BLOSC is off openvdb still contains 1 reference to snappy so we link with it always

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

M	CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1603f1f..3b388cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()




More information about the Bf-blender-cvs mailing list