Warning, /frameworks/extra-cmake-modules/find-modules/FindReuseTool.cmake is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2020 Andreas Cord-Landwehr <cordlandwehr@kde.org>
0002 #
0003 # SPDX-License-Identifier: BSD-3-Clause
0004 
0005 #[=======================================================================[.rst:
0006 WARNING: FOR ECM-INTERNAL USE ONLY, DO NOT USE IN OWN PROJECTS
0007 THIS FILE MIGHT DISAPPEAR IN FUTURE VERSIONS OF ECM.
0008 
0009 Finds the REUSE Tool by FSFE: https://github.com/fsfe/reuse-tool
0010 
0011  REUSETOOL_FOUND      - True if REUSE tool is found.
0012  REUSETOOL_EXECUTABLE - Path to executable
0013 #]=======================================================================]
0014 
0015 find_program(REUSETOOL_EXECUTABLE NAMES reuse)
0016 
0017 include(FindPackageHandleStandardArgs)
0018 find_package_handle_standard_args(ReuseTool
0019     FOUND_VAR
0020         REUSETOOL_FOUND
0021     REQUIRED_VARS
0022         REUSETOOL_EXECUTABLE
0023 )