aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)