aboutsummaryrefslogtreecommitdiff
path: root/modules/FindAutomoc4.cmake
diff options
context:
space:
mode:
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)