diff --git a/indra/cmake/PNG.cmake b/indra/cmake/PNG.cmake index 913c575672..06f819ef1b 100644 --- a/indra/cmake/PNG.cmake +++ b/indra/cmake/PNG.cmake @@ -1,4 +1,10 @@ # -*- cmake -*- + +# Silence warning about overriding findZLIB.cmake with our own copy. +cmake_policy(SET CMP0017 OLD) +# Silence warning about using policies to silence warnings about using policies. +cmake_policy(SET CMP0011 NEW) + include(Prebuilt) set(PNG_FIND_QUIETLY ON)