1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
# 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
#]=======================================================================]
cmake_policy(VERSION 3.16)
find_program(REUSETOOL_EXECUTABLE NAMES reuse)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ReuseTool
FOUND_VAR
REUSETOOL_FOUND
REQUIRED_VARS
REUSETOOL_EXECUTABLE
)
|