aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick von Reth <vonreth@kde.org>2015-04-19 15:01:40 +0200
committerPatrick von Reth <vonreth@kde.org>2015-04-19 15:01:40 +0200
commit9521e67d6ac24ac52b05f47f384c048999d7df5f (patch)
treeff8946059dbdd2530b91bcb7bfb38dd21a4500d2
parentc3a6bd22766446c2fead866b94c2c97385ad8db7 (diff)
downloadextra-cmake-modules-9521e67d6ac24ac52b05f47f384c048999d7df5f.tar.gz
extra-cmake-modules-9521e67d6ac24ac52b05f47f384c048999d7df5f.tar.bz2
execute png2icon --help with ERROR_QUIET, to prevent printing of banner from http://www.winterdrache.de/freeware/png2ico/
-rw-r--r--find-modules/FindPng2Ico.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/find-modules/FindPng2Ico.cmake b/find-modules/FindPng2Ico.cmake
index 7b201988..941e9155 100644
--- a/find-modules/FindPng2Ico.cmake
+++ b/find-modules/FindPng2Ico.cmake
@@ -87,6 +87,7 @@ if (Png2Ico_FOUND)
execute_process(
COMMAND "${Png2Ico_EXECUTABLE}" --help
OUTPUT_VARIABLE _png2ico_help_text
+ ERROR_QUIET
)
if (_png2ico_help_text MATCHES ".*--rcfile .*")
set(Png2Ico_HAS_RCFILE_ARGUMENT TRUE)