Skip to content

Commit

Permalink
fix build with openvdb_vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
borongyuan committed Jun 28, 2024
1 parent c212458 commit d6119cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions 3rdparty/find_dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ if(USE_SYSTEM_OPENVDB)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_FULL_LIBDIR}/cmake/OpenVDB")
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)
Expand Down
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/")

# Find Dependencies from the 3rdparty directory.
include(3rdparty/find_dependencies.cmake)
Expand Down

0 comments on commit d6119cb

Please sign in to comment.