Warning, /sdk/licensedigger/autotests/testdata/BSD-2-Clause/FindXSettingsd.cmake is written in an unsupported language. File is not indexed.

0001 # - Find XSettingsd
0002 # This module defines the following variables:
0003 #
0004 #  XSettingsd_FOUND - true if found
0005 #  XSettingsd_PATH - path to the bin (only when found)
0006 #
0007 # Copyright (c) 2020 Mikhail Zolotukhin <zomial@protonmail.com>
0008 #
0009 # Redistribution and use in source and binary forms, with or without
0010 # modification, are permitted provided that the following conditions
0011 # are met:
0012 # 1. Redistributions of source code must retain the above copyright
0013 #    notice, this list of conditions and the following disclaimer.
0014 # 2. Redistributions in binary form must reproduce the above copyright
0015 #    notice, this list of conditions and the following disclaimer in the
0016 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
0017 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
0018 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
0019 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
0020 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
0021 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
0022 # SUCH DAMAGE.
0023 
0024 find_program(XSettingsd_PATH "xsettingsd")
0025 
0026 include(FindPackageHandleStandardArgs)
0027 find_package_handle_standard_args(XSettingsd
0028     FOUND_VAR XSettingsd_FOUND
0029     REQUIRED_VARS XSettingsd_PATH
0030 )
0031 mark_as_advanced(XSettingsd_PATH)
0032