CMake: Enable BLOSC for OpenVDB for the full config

This will respect the official build configuration where we should
have BLOSC enabled.

We can't really detect if OpenVDB was compiled with BLOSC or not,
so seems we can't really avoid this extra flag.
This commit is contained in:
Sergey Sharybin
2016-02-23 09:48:47 +01:00
parent d3fa1bd4d5
commit 90e9da423b
2 changed files with 1 additions and 2 deletions

View File

@@ -102,8 +102,6 @@ set(TIFF_LIBRARY "/usr/lib/libtiff.a" CACHE STRING "" FORCE)
set(ZLIB_LIBRARY "/usr/lib/libz.a" CACHE STRING "" FORCE)
# OpenVDB
set(WITH_OPENVDB ON CACHE BOOL "" FORCE)
set(WITH_OPENVDB_BLOSC ON CACHE BOOL "" FORCE)
set(OPENVDB_LIBRARY
/opt/lib/openvdb/lib/libopenvdb.a
/opt/lib/blosc/lib/libblosc.a