aboutsummaryrefslogtreecommitdiff
path: root/modules/FindAutomoc4.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-12-08 22:39:27 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-12-08 22:39:27 +0000
commitf9248c8938c2ee4e31cb2ea8565c6350757dbae2 (patch)
tree8f3294a2e1c94b4e7f3ef7526da6486053362fde /modules/FindAutomoc4.cmake
parent7285826cedf2c374655242c8f64e432256dd1ecc (diff)
downloadextra-cmake-modules-f9248c8938c2ee4e31cb2ea8565c6350757dbae2.tar.gz
extra-cmake-modules-f9248c8938c2ee4e31cb2ea8565c6350757dbae2.tar.bz2
-make finding the FooConfig.cmake file quiet, but don't make the outer FindFoo.cmake file quiet
Alex svn path=/trunk/KDE/kdelibs/; revision=894602
Diffstat (limited to 'modules/FindAutomoc4.cmake')
-rw-r--r--modules/FindAutomoc4.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/FindAutomoc4.cmake b/modules/FindAutomoc4.cmake
index c76d20b8..1192ea01 100644
--- a/modules/FindAutomoc4.cmake
+++ b/modules/FindAutomoc4.cmake
@@ -25,7 +25,9 @@ else("${KDESupport_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
# when building this project outside kdesupport
# use the new "config-mode" of cmake 2.6, which searches the installed Automoc4Config.cmake file
# see the man page for details
+ set(_Automoc4_FIND_QUIETLY ${Automoc4_FIND_QUIETLY})
find_package(Automoc4 QUIET NO_MODULE)
+ set(Automoc4_FIND_QUIETLY ${_Automoc4_FIND_QUIETLY})
endif("${KDESupport_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
include(FindPackageHandleStandardArgs)