summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTK2.cmake
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2013-08-09 13:37:52 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-08 00:18:06 (GMT)
commit1bbc7662ea2319e02322664b00ca645acde7f723 (patch)
tree2d052669f1fb579aaec196cbec13f5090bbbf227 /Modules/FindGTK2.cmake
parentd9eb277631afa5aa00b15d4a90bbd17b9ba754b6 (diff)
downloadCMake-1bbc7662ea2319e02322664b00ca645acde7f723.zip
CMake-1bbc7662ea2319e02322664b00ca645acde7f723.tar.gz
CMake-1bbc7662ea2319e02322664b00ca645acde7f723.tar.bz2
FindGTK2: Search for modules quietly when needed
Diffstat (limited to 'Modules/FindGTK2.cmake')
-rw-r--r--Modules/FindGTK2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
index 6147361..316a2da 100644
--- a/Modules/FindGTK2.cmake
+++ b/Modules/FindGTK2.cmake
@@ -587,6 +587,8 @@ include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
string(TOUPPER ${_GTK2_component} _COMPONENT_UPPER)
+ set(GTK2_${_COMPONENT_UPPER}_FIND_QUIETLY ${GTK2_FIND_QUIETLY})
+
if(_GTK2_component STREQUAL "gtk")
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "Some or all of the gtk libraries were not found."
GTK2_GTK_LIBRARY