Warning, /graphics/okular/cmake/modules/FindDiscount.cmake is written in an unsupported language. File is not indexed.

0001 # - Find Discount
0002 # Find the discount markdown library.
0003 #
0004 # This module defines
0005 #  Discount_FOUND - whether the discount library was found
0006 #  PkgConfig::Discount - the discount target to link to
0007 
0008 # SPDX-FileCopyrightText: 2017 Julian Wolff <wolff@julianwolff.de>
0009 # SPDX-FileCopyrightText: 2018 Sune Vuorela <sune@kde.org>
0010 # SPDX-License-Identifier: BSD-3-Clause
0011 
0012 include(FindPackageHandleStandardArgs)
0013 
0014 find_package(PkgConfig REQUIRED)
0015 
0016 pkg_check_modules(Discount IMPORTED_TARGET "libmarkdown")
0017 
0018 find_package_handle_standard_args(Discount DEFAULT_MSG Discount_LIBRARIES)