diff --git a/cmake/FindOpenVDB.cmake b/cmake/FindOpenVDB.cmake index c4213c853a..11ebaca9e4 100644 --- a/cmake/FindOpenVDB.cmake +++ b/cmake/FindOpenVDB.cmake @@ -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