Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion 3rdparty/find_dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ if(USE_SYSTEM_OPENVDB)
# When OpenVDB is available on the system, we just go for the dynamic version of it
include(GNUInstallDirs)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_FULL_LIBDIR}/cmake/OpenVDB")
find_package(OpenVDB QUIET)
find_package(openvdb_vendor QUIET)
if(NOT OpenVDB_FOUND)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/")
find_package(OpenVDB QUIET)
endif()
if(OpenVDB_FOUND AND OpenVDB_USES_BLOSC)
# We need to get these hidden dependencies (if available) to static link them inside our library
target_link_libraries(OpenVDB::openvdb INTERFACE Blosc::blosc)
Expand Down
Loading