From 6eb56575655264e35a7c31f6cd5dcab0dcb7bbdb Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Mon, 15 Oct 2012 08:24:56 -0500 Subject: [PATCH] Silence cmake warnings on standalone builds with cmake 2.8.7 and above. --- indra/cmake/PNG.cmake | 6 ++++++ 1 file changed, 6 insertions(+) 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)