aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-04-10 16:23:14 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-04-10 16:23:14 +0000
commitaaeb5144062c7b852b86bedab49a197faea415c1 (patch)
treee130f899717530d8262abce00671ceb07c203201
parentddff30d90a1fd77251ab3f4c23488494479ce1dd (diff)
downloadextra-cmake-modules-aaeb5144062c7b852b86bedab49a197faea415c1.tar.gz
extra-cmake-modules-aaeb5144062c7b852b86bedab49a197faea415c1.tar.bz2
be silent if installation already found
svn path=/trunk/KDE/kdelibs/; revision=652290
-rw-r--r--modules/FindGNUWIN32.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/FindGNUWIN32.cmake b/modules/FindGNUWIN32.cmake
index 8b999d93..bbe5debb 100644
--- a/modules/FindGNUWIN32.cmake
+++ b/modules/FindGNUWIN32.cmake
@@ -7,6 +7,11 @@
if (WIN32)
+ IF (GNUWIN32_INCLUDE_DIR)
+ # Already in cache, be silent
+ SET(GNUWIN32_FIND_QUIETLY TRUE)
+ ENDIF (GNUWIN32_INCLUDE_DIR)
+
# check if GNUWIN32_DIR is already set
# (e.g. by command line argument or the calling script)
if(NOT GNUWIN32_DIR)