2017-08-24 23:04:54 +00:00
|
|
|
# - Find Discount
|
|
|
|
# Find the discount markdown library.
|
|
|
|
#
|
|
|
|
# This module defines
|
2021-01-08 23:21:30 +00:00
|
|
|
# Discount_FOUND - whether the discount library was found
|
|
|
|
# PkgConfig::Discount - the discount target to link to
|
2017-08-24 23:04:54 +00:00
|
|
|
|
2021-05-24 07:25:56 +00:00
|
|
|
# SPDX-FileCopyrightText: 2017 Julian Wolff <wolff@julianwolff.de>
|
|
|
|
# SPDX-FileCopyrightText: 2018 Sune Vuorela <sune@kde.org>
|
2021-05-24 11:44:36 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2017-08-24 23:04:54 +00:00
|
|
|
|
2021-01-08 23:21:30 +00:00
|
|
|
include(FindPackageHandleStandardArgs)
|
2017-08-24 23:04:54 +00:00
|
|
|
|
2021-01-08 23:21:30 +00:00
|
|
|
find_package(PkgConfig REQUIRED)
|
2017-08-24 23:04:54 +00:00
|
|
|
|
2021-01-08 23:21:30 +00:00
|
|
|
pkg_check_modules(Discount IMPORTED_TARGET "libmarkdown")
|
2017-08-24 23:04:54 +00:00
|
|
|
|
2021-01-08 23:21:30 +00:00
|
|
|
find_package_handle_standard_args(Discount DEFAULT_MSG Discount_LIBRARIES)
|