build_environment: opennvdb windows build fixes.

disable openexr namespaces on windows due to linker errors with it.
link pthreads due to dependency though blosc
This commit is contained in:
Ray Molenkamp
2018-08-19 11:29:04 -06:00
parent 8309f8ee34
commit f4c9bdb022
2 changed files with 35 additions and 0 deletions

View File

@@ -11,6 +11,14 @@ diff -Naur openvdb.orig/openvdb/CMakeLists.txt openvdb/openvdb/CMakeLists.txt
FIND_PACKAGE ( Blosc REQUIRED )
FIND_PACKAGE ( TBB REQUIRED )
@@ -195,6 +198,7 @@
${Ilmbase_HALF_LIBRARY}
${ZLIB_LIBRARY}
${BLOSC_blosc_LIBRARY}
+ ${EXTRA_LIBS}
)
IF (WIN32)
@@ -225,13 +228,16 @@
${VDB_PRINT_SOURCE_FILES}
)