Revision 8d3d27cd17bbceab18c317820dbe595178f6312a authored by fangy14 on 06 November 2019, 07:20:57 UTC, committed by fangy14 on 06 November 2019, 07:20:57 UTC
0 parent
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
)
Computing file changes ...