Files
RedBear-OS/local/recipes/kde/kf6-extra-cmake-modules/source/find-modules/FindReuseTool.cmake
T
2026-04-14 10:51:06 +01:00

24 lines
772 B
CMake

# SPDX-FileCopyrightText: 2020 Andreas Cord-Landwehr <cordlandwehr@kde.org>
#
# SPDX-License-Identifier: BSD-3-Clause
#[=======================================================================[.rst:
WARNING: FOR ECM-INTERNAL USE ONLY, DO NOT USE IN OWN PROJECTS
THIS FILE MIGHT DISAPPEAR IN FUTURE VERSIONS OF ECM.
Finds the REUSE Tool by FSFE: https://github.com/fsfe/reuse-tool
REUSETOOL_FOUND - True if REUSE tool is found.
REUSETOOL_EXECUTABLE - Path to executable
#]=======================================================================]
find_program(REUSETOOL_EXECUTABLE NAMES reuse)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ReuseTool
FOUND_VAR
REUSETOOL_FOUND
REQUIRED_VARS
REUSETOOL_EXECUTABLE
)