Warning, /plasma/plasma-workspace/cmake/FindAppMenuGtkModule.cmake is written in an unsupported language. File is not indexed.

0001 #.rst:
0002 # FindAppmenuGtkModule
0003 # -----------
0004 #
0005 # Try to find appmenu-gtk2-module and appmenu-gtk3-module.
0006 # Once done this will define:
0007 #
0008 # ``AppMenuGtkModule_FOUND``
0009 #     System has both appmenu-gtk2-module and appmenu-gtk3-module
0010 
0011 #=============================================================================
0012 # SPDX-FileCopyrightText: 2018 Kai Uwe Broulik <kde@broulik.de>
0013 #
0014 # SPDX-License-Identifier: BSD-3-Clause
0015 
0016 find_library(AppMenuGtk2Module_LIBRARY libappmenu-gtk-module.so
0017     PATH_SUFFIXES
0018         gtk-2.0/modules
0019 )
0020 
0021 find_library(AppMenuGtk3Module_LIBRARY libappmenu-gtk-module.so
0022     PATH_SUFFIXES
0023         gtk-3.0/modules
0024 )
0025 
0026 include(FindPackageHandleStandardArgs)
0027 find_package_handle_standard_args(AppMenuGtkModule
0028     FOUND_VAR
0029         AppMenuGtkModule_FOUND
0030     REQUIRED_VARS
0031         AppMenuGtk3Module_LIBRARY
0032         AppMenuGtk2Module_LIBRARY
0033 )
0034 
0035 mark_as_advanced(AppMenuGtk3Module_LIBRARY AppMenuGtk2Module_LIBRARY)
0036 
0037 include(FeatureSummary)
0038 set_package_properties(AppMenuGtkModule PROPERTIES
0039     URL "https://github.com/rilian-la-te/vala-panel-appmenu/tree/master/subprojects/appmenu-gtk-module"
0040     DESCRIPTION "Application Menu GTK+ Module"
0041 )