Skip to content

Commit

Permalink
FindOpenVDB.cmake: Fix a cmake 3.30 warning with POLICY CMP0167
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Westphal <[email protected]>
  • Loading branch information
mwestphal committed Jul 11, 2024
1 parent ffdc881 commit f18b821
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/FindOpenVDB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,10 @@ endif()
# Add standard dependencies

find_package(TBB REQUIRED COMPONENTS tbb)

if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()
find_package(Boost REQUIRED COMPONENTS iostreams)

# Add deps for pyopenvdb
Expand Down

0 comments on commit f18b821

Please sign in to comment.