We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5280eb6 commit 7aabc2bCopy full SHA for 7aabc2b
src/cmake/modules/FindOpenVDB.cmake
@@ -89,6 +89,16 @@ if (OpenVDB_FOUND)
89
set_property(TARGET OpenVDB::openvdb APPEND PROPERTY
90
IMPORTED_LOCATION "${OPENVDB_LIBRARIES}")
91
endif ()
92
+
93
+ # Note: OpenVDB older than 12 needs Boost headers.
94
+ if (OpenVDB_VERSION VERSION_LESS 12)
95
+ find_package (Boost)
96
+ if (Boost_FOUND)
97
+ list(APPEND OPENVDB_INCLUDES ${Boost_INCLUDE_DIRS})
98
+ else()
99
+ unset(OpenVDB_FOUND)
100
+ endif()
101
102
103
104
MARK_AS_ADVANCED(
0 commit comments