[Bf-blender-cvs] [1aeb676] openvdb: OpenVDB has a dependency on boost-iostreams lib.
Lukas Tönne
noreply at git.blender.org
Thu Jun 11 16:08:42 CEST 2015
Commit: 1aeb676c2b2e68c86d518eca9dfd6ba97b177f8b
Author: Lukas Tönne
Date: Thu Jun 11 16:07:19 2015 +0200
Branches: openvdb
https://developer.blender.org/rB1aeb676c2b2e68c86d518eca9dfd6ba97b177f8b
OpenVDB has a dependency on boost-iostreams lib.
Blender needs to link this for static OpenVDB libraries.
===================================================================
M CMakeLists.txt
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cca6068..5f0d7d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1003,6 +1003,9 @@ if(UNIX AND NOT APPLE)
if(WITH_CYCLES_NETWORK)
list(APPEND __boost_packages serialization)
endif()
+ if(WITH_OPENVDB)
+ list(APPEND __boost_packages iostreams)
+ endif()
find_package(Boost 1.48 COMPONENTS ${__boost_packages})
if(NOT Boost_FOUND)
# try to find non-multithreaded if -mt not found, this flag
More information about the Bf-blender-cvs
mailing list