Skip to content

Commit d6119cb

Browse files
committed
fix build with openvdb_vendor
1 parent c212458 commit d6119cb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

3rdparty/find_dependencies.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ if(USE_SYSTEM_OPENVDB)
5555
list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_FULL_LIBDIR}/cmake/OpenVDB")
5656
find_package(openvdb_vendor QUIET)
5757
if(NOT OpenVDB_FOUND)
58+
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/")
5859
find_package(OpenVDB QUIET)
5960
endif()
6061
if(OpenVDB_FOUND AND OpenVDB_USES_BLOSC)

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
5454
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
5555
set(CMAKE_CXX_STANDARD_REQUIRED ON)
5656
set(CMAKE_CXX_EXTENSIONS OFF)
57-
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/")
5857

5958
# Find Dependencies from the 3rdparty directory.
6059
include(3rdparty/find_dependencies.cmake)

0 commit comments

Comments
 (0)