Skip to content

Commit c9b0800

Browse files
author
wonder
committed
Added copyright notices to CMake modules, BSD license has been set to the modules (typical license for CMake modules).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13756 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9c196bb commit c9b0800

14 files changed

+117
-25
lines changed

cmake/Bison.cmake

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Macros for Bison
2+
# ~~~~~~~~~~~~~~~~
3+
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
17
# use bison for .yy files
28

39
# search for bison

cmake/COPYING-CMAKE-SCRIPTS

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Redistribution and use in source and binary forms, with or without
2+
modification, are permitted provided that the following conditions
3+
are met:
4+
5+
1. Redistributions of source code must retain the copyright
6+
notice, this list of conditions and the following disclaimer.
7+
2. Redistributions in binary form must reproduce the copyright
8+
notice, this list of conditions and the following disclaimer in the
9+
documentation and/or other materials provided with the distribution.
10+
3. The name of the author may not be used to endorse or promote products
11+
derived from this software without specific prior written permission.
12+
13+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cmake/FindExpat.cmake

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
1+
# Find Expat
2+
# ~~~~~~~~~~
3+
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
#
27
# CMake module to search for Expat library
38
# (library for parsing XML files)
49
#

cmake/FindGDAL.cmake

+15-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1-
## Once run this will define:
2-
##
3-
## GDAL_FOUND = system has GDAL lib
4-
##
5-
## GDAL_LIBRARY = full path to the library
6-
##
7-
## GDAL_INCLUDE_DIR = where to find headers
8-
##
9-
## Magnus Homann
1+
# Find GDAL
2+
# ~~~~~~~~~
3+
# Copyright (c) 2007, Magnus Homann <magnus at homann dot se>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
#
7+
#
8+
# Once run this will define:
9+
#
10+
# GDAL_FOUND = system has GDAL lib
11+
#
12+
# GDAL_LIBRARY = full path to the library
13+
#
14+
# GDAL_INCLUDE_DIR = where to find headers
15+
1016

1117

1218
IF(WIN32)

cmake/FindGEOS.cmake

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1+
# Find GEOS
2+
# ~~~~~~~~~
3+
# Copyright (c) 2008, Mateusz Loskot <mateusz@loskot.net>
4+
# (based on FindGDAL.cmake by Magnus Homann)
5+
# Redistribution and use is allowed according to the terms of the BSD license.
6+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
7+
#
18
# CMake module to search for GEOS library
29
#
310
# If it's found it sets GEOS_FOUND to TRUE
411
# and following variables are set:
512
# GEOS_INCLUDE_DIR
613
# GEOS_LIBRARY
714
#
8-
# Mateusz Loskot <mateusz@loskot.net>
9-
# (based in FindGDAL.cmake by Magnus Homann)
15+
1016

1117
IF(WIN32)
1218

cmake/FindGRASS.cmake

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Find GRASS
2+
# ~~~~~~~~~~
3+
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
16

27
# macro that checks for grass installation in specified directory
38

cmake/FindIconv.cmake

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Find Iconv
2+
# ~~~~~~~~~~
3+
# Copyright (c) 2009, Juergen E. Fischer <jef at norbit dot de>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
#
17
# CMake module to search for iconv library
28
#
39
# If it's found it sets ICONV_FOUND to TRUE

cmake/FindPostgres.cmake

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
1+
# Find PostgreSQL
2+
# ~~~~~~~~~~~~~~~
3+
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
#
27
# CMake module to search for PostgreSQL library
38
#
49
# pg_config is searched for in POSTGRES_CONFIG dir,

cmake/FindProj.cmake

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
1+
# Find Proj
2+
# ~~~~~~~~~
3+
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
#
27
# CMake module to search for Proj library
38
#
49
# If it's found it sets PROJ_FOUND to TRUE

cmake/FindQWT.cmake

+14-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
## Once run this will define:
2-
##
3-
## QWT_FOUND = system has QWT lib
4-
##
5-
## QWT_LIBRARY = full path to the QWT library
6-
##
7-
## QWT_INCLUDE_DIR = where to find headers
8-
##
9-
## Tim Sutton
1+
# Find Qwt
2+
# ~~~~~~~~
3+
# Copyright (c) 2010, Tim Sutton <tim at linfiniti.com>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
#
7+
# Once run this will define:
8+
#
9+
# QWT_FOUND = system has QWT lib
10+
#
11+
# QWT_LIBRARY = full path to the QWT library
12+
#
13+
# QWT_INCLUDE_DIR = where to find headers
14+
#
1015

1116

1217
#MESSAGE("Searching for QWT")

cmake/FindSPATIALITE.cmake

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
1+
# Find SpatiaLite
2+
# ~~~~~~~~~~~~~~~
3+
# Copyright (c) 2009, Sandro Furieri <a.furieri at lqt.it>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
#
27
# CMake module to search for SpatiaLite library
38
#
49
# If it's found it sets SPATIALITE_FOUND to TRUE

cmake/FindSqlite3.cmake

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
1+
# Find Sqlite3
2+
# ~~~~~~~~~~~~
3+
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
#
27
# CMake module to search for Sqlite3 library
38
#
49
# If it's found it sets SQLITE3_FOUND to TRUE

cmake/Flex.cmake

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Macros for Bison
2+
# ~~~~~~~~~~~~~~~~
3+
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6+
17
# flex a .ll file
28

39
# search flex

cmake/PyQt4Macros.cmake

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Macros for PyQt4
2+
# ~~~~~~~~~~~~~~~~
3+
# Copyright (c) 2009, Juergen E. Fischer <jef at norbit dot de>
4+
# Redistribution and use is allowed according to the terms of the BSD license.
5+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
16

27

38
IF(NOT PYUIC4_PROGRAM)

0 commit comments

Comments
 (0)