CMake: add spdx tags to modules

Helps to be explict what license each module is under

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2019-05-09 09:46:49 -07:00
parent c4d8dd2524
commit 6d2ca4b97a
11 changed files with 27 additions and 0 deletions

View File

@@ -14,6 +14,8 @@
#
# Redistribution and use is allowed according to the terms of the New BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# SPDX-License-Identifier: BSD-3-Clause
if (LIBFTD2XX_LIBRARIES AND LIBFTD2XX_INCLUDE_DIRS)
# in cache already

View File

@@ -15,6 +15,8 @@
#
# Redistribution and use is allowed according to the terms of the New BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# SPDX-License-Identifier: BSD-3-Clause
if (LIBFT4222_LIBRARIES AND LIBFT4222_INCLUDE_DIRS)
# in cache already

View File

@@ -1,3 +1,6 @@
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: MIT
# JSON-C_FOUND - true if library and headers were found
# JSON-C_INCLUDE_DIRS - include directories
# JSON-C_LIBRARIES - library directories

View File

@@ -1,3 +1,6 @@
# Copyright (c) 2015 Intel Corporation
# SPDX-License-Identifier: MIT
# Macro to add directory to NODEJS_INCLUDE_DIRS if it exists and is not /usr/include
macro(add_include_dir dir)
if (IS_DIRECTORY ${dir} AND NOT ${dir} STREQUAL "/usr/include")

View File

@@ -1,3 +1,6 @@
# Copyright (c) 2014 Intel Corporation
# SPDX-License-Identifier: MIT
find_program (SPHINX_EXECUTABLE NAMES sphinx-build
HINTS
$ENV{SPHINX_DIR}

View File

@@ -1,3 +1,6 @@
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: MIT
# UDEV_FOUND - true if library and headers were found
# UDEV_INCLUDE_DIRS - include directories
# UDEV_LIBRARIES - library directories

View File

@@ -1,3 +1,6 @@
# Copyright (c) 2015 Intel Corporation
# SPDX-License-Identifier: MIT
find_program (YUIDOC_EXECUTABLE NAMES yuidoc
HINTS $ENV{YUIDOC_DIR}
PATHS usr usr/local

View File

@@ -29,6 +29,8 @@
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
# SPDX-License-Identifier: BSL-1.0
if(__get_git_revision_description)
return()

View File

@@ -12,6 +12,8 @@
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
# SPDX-License-Identifier: BSL-1.0
set(HEAD_HASH)

View File

@@ -1,3 +1,6 @@
# From OpenCV Project
# SPDX-License-Identifier: BSD-3-Clause
#
# Find specified Python version
# Arguments:
# preferred_version (value): Version to check for first

View File

@@ -1,3 +1,4 @@
// Auto-Generated file
#include "version.h"
const char* gVERSION = "@VERSION@";