Warning, /plasma/plymouth-kcm/cmake/FindPlymouth.cmake is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2016 Harald Sitter <sitter@kde.org>
0002 #
0003 # SPDX-License-Identifier: BSD-2-Clause
0004 
0005 find_package(PkgConfig REQUIRED)
0006 
0007 pkg_check_modules(Plymouth ply-boot-client ply-splash-core)
0008 exec_program(${PKG_CONFIG_EXECUTABLE}
0009     ARGS ply-splash-core --variable=pluginsdir
0010     OUTPUT_VARIABLE Plymouth_PLUGINSDIR)
0011 exec_program(${PKG_CONFIG_EXECUTABLE}
0012     ARGS ply-splash-core --variable=themesdir
0013     OUTPUT_VARIABLE Plymouth_THEMESDIR)
0014 
0015 find_package_handle_standard_args(Plymouth
0016     FOUND_VAR
0017         Plymouth_FOUND
0018     REQUIRED_VARS
0019         Plymouth_PLUGINSDIR
0020         Plymouth_THEMESDIR
0021     VERSION_VAR
0022         Plymouth_VERSION
0023     HANDLE_COMPONENTS
0024 )
0025 
0026 include(FeatureSummary)
0027 set_package_properties(Plymouth PROPERTIES
0028     URL "https://www.freedesktop.org/wiki/Software/Plymouth/"
0029     DESCRIPTION "Plymouth development files."
0030 )