mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-14 21:41:06 -05:00
FindGTK2: Search for modules quietly when needed
This commit is contained in:
committed by
Brad King
parent
d9eb277631
commit
1bbc7662ea
@@ -587,6 +587,8 @@ include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
|||||||
foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
|
foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
|
||||||
string(TOUPPER ${_GTK2_component} _COMPONENT_UPPER)
|
string(TOUPPER ${_GTK2_component} _COMPONENT_UPPER)
|
||||||
|
|
||||||
|
set(GTK2_${_COMPONENT_UPPER}_FIND_QUIETLY ${GTK2_FIND_QUIETLY})
|
||||||
|
|
||||||
if(_GTK2_component STREQUAL "gtk")
|
if(_GTK2_component STREQUAL "gtk")
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "Some or all of the gtk libraries were not found."
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "Some or all of the gtk libraries were not found."
|
||||||
GTK2_GTK_LIBRARY
|
GTK2_GTK_LIBRARY
|
||||||
|
|||||||
Reference in New Issue
Block a user