Silence cmake warnings on standalone builds with cmake 2.8.7 and above.

Tonya Souther 2012-10-15 08:24:56 -05:00
parent 089af08759
commit 6eb5657565
1 changed files with 6 additions and 0 deletions

View File

@ -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)