Skip to content

Commit b454652

Browse files
committed
FindOpenVDB.cmake: Fix a cmake 3.30 warning with POLICY CMP0167
1 parent ffdc881 commit b454652

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/FindOpenVDB.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,10 @@ endif()
491491
# Add standard dependencies
492492

493493
find_package(TBB REQUIRED COMPONENTS tbb)
494+
495+
if(POLICY CMP0167)
496+
cmake_policy(SET CMP0167 NEW)
497+
endif()
494498
find_package(Boost REQUIRED COMPONENTS iostreams)
495499

496500
# Add deps for pyopenvdb

0 commit comments

Comments
 (0)