From abbfd4bfe7104240fa0bd9abdf26a7bbfad0f0f5 Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Thu, 1 Nov 2012 07:25:41 -0500 Subject: [PATCH] Move comments to the lines they're commenting. --- indra/cmake/PNG.cmake | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/indra/cmake/PNG.cmake b/indra/cmake/PNG.cmake index 1c52161c06..779beb2944 100644 --- a/indra/cmake/PNG.cmake +++ b/indra/cmake/PNG.cmake @@ -1,14 +1,12 @@ # -*- cmake -*- -# Silence warning about overriding findZLIB.cmake with our own copy. - if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 8 AND ${CMAKE_PATCH_VERSION} GREATER 3) +# 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) endif(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 8 AND ${CMAKE_PATCH_VERSION} GREATER 3) -# Silence warning about using policies to silence warnings about using policies. - include(Prebuilt) set(PNG_FIND_QUIETLY ON)