From aaeb5144062c7b852b86bedab49a197faea415c1 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 10 Apr 2007 16:23:14 +0000 Subject: be silent if installation already found svn path=/trunk/KDE/kdelibs/; revision=652290 --- modules/FindGNUWIN32.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') 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) -- cgit v1.2.1