swh:1:snp:597f10704966a63e22a6690fc91719ea5d363ec6
Tip revision: 35742ac3ab1ae42cf2bbe8761fd7c8e630a638c4 authored by JoshWolper on 28 October 2020, 15:53:00 UTC
Add files via upload
Add files via upload
Tip revision: 35742ac
FindOpenVDB.cmake
# - Try to find openvdb
# Once done, this will define
#
# OPENVDB_FOUND - system has openvdb
# OPENVDB_INCLUDE_DIRS - the openvdb include directories
# OPENVDB_LIBRARIES - link these to use libopenvdb
find_library(OPENVDB_LIBRARIES
NAMES openvdb openvdb_sesi
HINTS ENV HDSO
)
find_path(OPENVDB_INCLUDE_DIRS
NAMES openvdb/openvdb.h
HINTS $ENV{HT}/include
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(OPENVDB DEFAULT_MSG
OPENVDB_LIBRARIES
OPENVDB_INCLUDE_DIRS
)
mark_as_advanced(
OPENVDB_LIBRARIES
OPENVDB_INCLUDE_DIRS
)