1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
# SPDX-FileCopyrightText: 2012-2021 Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause
#[=======================================================================[.rst:
FindGtkDataboxMM
----------------
Try to find the GtkDataboxMM library.
Once done this will define the following variables::
GtkDataboxMM_FOUND - System has GtkDataboxMM
GtkDataboxMM_INCLUDE_DIRS - GtkDataboxMM include directory
GtkDataboxMM_LIBRARIES - GtkDataboxMM libraries
GtkDataboxMM_DEFINITIONS - Additional compiler flags for GtkDataboxMM
GtkDataboxMM_VERSION - GtkDataboxMM version
GtkDataboxMM_MAJOR_VERSION - GtkDataboxMM major version
GtkDataboxMM_MINOR_VERSION - GtkDataboxMM minor version
GtkDataboxMM_PATCH_VERSION - GtkDataboxMM patch version
GtkDataboxMM_TWEAK_VERSION - GtkDataboxMM tweak version
If the library is found, the imported target ``GtkDataboxMM::gtkdataboxmm`` is
created.
#]=======================================================================]
include(StandardFindModule)
include(ReplaceImportedTargets)
include(CMakeFindDependencyMacro)
find_dependency(GTK2)
find_dependency(GtkDatabox)
standard_find_module(GtkDataboxMM gtkdataboxmm-0.9
TARGET GtkDataboxMM::gtkdataboxmm
REPLACE_TARGETS ${GTK2_LIBRARIES}
${GtkDatabox_LIBRARIES})
# Set package properties if FeatureSummary was included
if(COMMAND set_package_properties)
set_package_properties(GtkDataboxMM PROPERTIES DESCRIPTION "A GtkMM wrapper for GtkDatabox"
URL "http://sourceforge.net/projects/gtkdataboxmm/")
endif()
|