From d054db8380e3560611ab6e2996c8d3d667d04fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Milk?= <rene.milk@wwu.de> Date: Wed, 4 Apr 2018 14:43:41 +0200 Subject: [PATCH] [cmake] fix license info in FindEigen --- .pylicense-other.cfg | 2 +- cmake/modules/FindEigen3.cmake | 26 ++------------------------ 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/.pylicense-other.cfg b/.pylicense-other.cfg index c275ed0eb..d2dc02c4b 100644 --- a/.pylicense-other.cfg +++ b/.pylicense-other.cfg @@ -24,4 +24,4 @@ lead-out = # ~~~ [files] include_patterns = *.txt *.cmake *.py *.sh *.bash *.dgf *.msh *.gdb *.cfg *.travis.* *.gitignore *.mailmap *.gitattributes *gitignore-* *stamp-vc *dune.module *Doxylocal *.clang-format *COPYING-CMAKE-SCRIPTS *README *LICENSE *mainpage *switch-build_dir *dune-xt-common.pc.in *CMakeLists.txt -exclude_patterns = *config.h.cmake *.vcsetup* +exclude_patterns = *config.h.cmake *.vcsetup* FindEigen3.cmake diff --git a/cmake/modules/FindEigen3.cmake b/cmake/modules/FindEigen3.cmake index d44cb5e09..9d1cecabe 100644 --- a/cmake/modules/FindEigen3.cmake +++ b/cmake/modules/FindEigen3.cmake @@ -1,32 +1,10 @@ # ~~~ -# This file is part of the dune-xt-common project: -# https://github.com/dune-community/dune-xt-common -# Copyright 2009-2018 dune-xt-common developers and contributors. All rights reserved. -# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) -# Authors: -# Felix Schindler (2014, 2016 - 2017) -# Rene Milk (2014 - 2015, 2018) -# -# or GPL-2.0+ (http://opensource.org/licenses/gpl-license) -# with "runtime exception" (http://www.dune-project.org/license.html) -# -# - Try to find Eigen3 lib -# -# This module supports requiring a minimum version, e.g. you can do -# find_package(Eigen3 3.1.2) -# to require version 3.1.2 or newer of Eigen3. -# -# Once done this will define -# -# EIGEN3_FOUND - system has eigen lib with correct version -# EIGEN3_INCLUDE_DIR - the eigen include directory -# EIGEN3_VERSION - eigen version -# ~~~ - # Copyright (c) 2006, 2007 Montel Laurent, <montel@kde.org> # Copyright (c) 2008, 2009 Gael Guennebaud, <g.gael@free.fr> # Copyright (c) 2009 Benoit Jacob <jacob.benoit.1@gmail.com> # Redistribution and use is allowed according to the terms of the 2-clause BSD license. +# ~~~ + if(NOT Eigen3_FIND_VERSION) if(NOT Eigen3_FIND_VERSION_MAJOR) -- GitLab