Skip to content
Permalink
Browse files

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>
  • Loading branch information
tingleby committed May 9, 2019
1 parent c4d8dd2 commit 6d2ca4b97ac5716a95ea92a8c4bf49df93fcf6ee
@@ -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
@@ -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
@@ -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
@@ -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")
@@ -1,3 +1,6 @@
# Copyright (c) 2014 Intel Corporation
# SPDX-License-Identifier: MIT

find_program (SPHINX_EXECUTABLE NAMES sphinx-build
HINTS
$ENV{SPHINX_DIR}
@@ -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
@@ -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
@@ -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()
@@ -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)

@@ -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
@@ -1,3 +1,4 @@
// Auto-Generated file
#include "version.h"

const char* gVERSION = "@VERSION@";

0 comments on commit 6d2ca4b

Please sign in to comment.
You can’t perform that action at this time.