diff options
Diffstat (limited to 'build_files/cmake/platform/platform_old_libs_update.cmake')
-rw-r--r-- | build_files/cmake/platform/platform_old_libs_update.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build_files/cmake/platform/platform_old_libs_update.cmake b/build_files/cmake/platform/platform_old_libs_update.cmake index 38c548e73a9..5a635790307 100644 --- a/build_files/cmake/platform/platform_old_libs_update.cmake +++ b/build_files/cmake/platform/platform_old_libs_update.cmake @@ -36,3 +36,11 @@ if(EXISTS ${LIBDIR}/webp) else() set(WITH_IMAGE_WEBP OFF) endif() + +# NanoVDB moved into openvdb. +if(UNIX AND + DEFINED NANOVDB_INCLUDE_DIR AND + NOT EXISTS ${NANOVDB_INCLUDE_DIR} AND + EXISTS ${LIBDIR}/openvdb/include/nanovdb) + unset_cache_variables("^NANOVDB") +endif() |