diff options
61 files changed, 324 insertions, 11 deletions
diff --git a/modules/CheckCSourceRuns.cmake b/modules/CheckCSourceRuns.cmake index b341ffdd..ce47de9f 100644 --- a/modules/CheckCSourceRuns.cmake +++ b/modules/CheckCSourceRuns.cmake @@ -14,6 +14,10 @@ # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link +# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. +# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. + + MACRO(CHECK_C_SOURCE_RUNS SOURCE VAR) IF("${VAR}" MATCHES "^${VAR}$") SET(MACRO_CHECK_FUNCTION_DEFINITIONS diff --git a/modules/CheckCXXCompilerFlag.cmake b/modules/CheckCXXCompilerFlag.cmake index 74af207b..686533de 100644 --- a/modules/CheckCXXCompilerFlag.cmake +++ b/modules/CheckCXXCompilerFlag.cmake @@ -4,6 +4,11 @@ # FLAG - the compiler flag # VARIABLE - variable to store the result # +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + INCLUDE(CheckCXXSourceCompiles) diff --git a/modules/CheckPointerMember.cmake b/modules/CheckPointerMember.cmake index fc6b231d..f34bfc91 100644 --- a/modules/CheckPointerMember.cmake +++ b/modules/CheckPointerMember.cmake @@ -12,6 +12,12 @@ # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + INCLUDE(CheckCXXSourceCompiles) diff --git a/modules/CheckPrototypeExists.cmake b/modules/CheckPrototypeExists.cmake index da319f13..8afc6f74 100644 --- a/modules/CheckPrototypeExists.cmake +++ b/modules/CheckPrototypeExists.cmake @@ -11,6 +11,12 @@ # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + INCLUDE(CheckCXXSourceCompiles) diff --git a/modules/CheckStructMember.cmake b/modules/CheckStructMember.cmake index fd5d3461..739e8cee 100644 --- a/modules/CheckStructMember.cmake +++ b/modules/CheckStructMember.cmake @@ -12,6 +12,12 @@ # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + INCLUDE(CheckCXXSourceCompiles) diff --git a/modules/CheckTypeSize.cmake b/modules/CheckTypeSize.cmake index 46288031..b666f847 100644 --- a/modules/CheckTypeSize.cmake +++ b/modules/CheckTypeSize.cmake @@ -7,6 +7,10 @@ # # remove once we require cmake 2.4.1 +# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. +# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. + + MACRO (CHECK_TYPE_SIZE TYPE VARIABLE) SET(CMAKE_ALLOW_UNKNOWN_VARIABLE_READ_ACCESS 1) IF ("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$") diff --git a/modules/FindACL.cmake b/modules/FindACL.cmake index ada94c32..9fb06782 100644 --- a/modules/FindACL.cmake +++ b/modules/FindACL.cmake @@ -3,6 +3,11 @@ # # ACL_FOUND - system has the ACL library # ACL_LIBS - The libraries needed to use ACL +# +# Copyright (c) 2006, Pino Toscano, <toscano.pino@tiscali.it> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. INCLUDE(CheckIncludeFiles) diff --git a/modules/FindAGG.cmake b/modules/FindAGG.cmake index 6bd92578..d4b6df27 100644 --- a/modules/FindAGG.cmake +++ b/modules/FindAGG.cmake @@ -6,6 +6,10 @@ # AGG_LIBRARIES - Link these to use AGG # AGG_DEFINITIONS - Compiler switches required for using AGG # +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. if (AGG_INCLUDE_DIR AND AGG_LIBRARIES) diff --git a/modules/FindASPELL.cmake b/modules/FindASPELL.cmake index 0333de0c..67ca19a3 100644 --- a/modules/FindASPELL.cmake +++ b/modules/FindASPELL.cmake @@ -6,6 +6,11 @@ # ASPELL_LIBRARIES - The libraries needed to use ASPELL # ASPELL_DEFINITIONS - Compiler switches required for using ASPELL # +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (ASPELL_INCLUDE_DIR AND ASPELL_LIBRARIES) # Already in cache, be silent diff --git a/modules/FindAkode.cmake b/modules/FindAkode.cmake index 5c1bab29..64511f3f 100644 --- a/modules/FindAkode.cmake +++ b/modules/FindAkode.cmake @@ -4,6 +4,12 @@ # AKODE_FOUND - system has the aKode library # AKODE_INCLUDE_DIR - the aKode include directory # AKODE_LIBRARIES - The libraries needed to use aKode +# +# Copyright (c) 2006, Pino Toscano, <toscano.pino@tiscali.it> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + IF (AKODE_LIBRARIES AND AKODE_INCLUDE_DIR) diff --git a/modules/FindBZip2.cmake b/modules/FindBZip2.cmake index 9976c282..492c3054 100644 --- a/modules/FindBZip2.cmake +++ b/modules/FindBZip2.cmake @@ -6,6 +6,12 @@ # BZIP2_LIBRARIES - Link these to use BZip2 # BZIP2_DEFINITIONS - Compiler switches required for using BZip2 # BZIP2_NEED_PREFIX - this is set if the functions are prefixed with BZ2_ +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES) diff --git a/modules/FindBerkeleyDB.cmake b/modules/FindBerkeleyDB.cmake index 640e6cf3..2a8ba293 100644 --- a/modules/FindBerkeleyDB.cmake +++ b/modules/FindBerkeleyDB.cmake @@ -6,7 +6,10 @@ # BERKELEY_DB_LIBRARIES - Link these to use Berkeley DB # BERKELEY_DB_DEFINITIONS - Compiler switches required for using Berkeley DB # - +# Copyright (c) 2006, Alexander Dymo, <adymo@kdevelop.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. FIND_PATH(BERKELEY_DB_INCLUDE_DIR db.h /usr/include/ diff --git a/modules/FindCarbon.cmake b/modules/FindCarbon.cmake index 94e81509..38a1aa72 100644 --- a/modules/FindCarbon.cmake +++ b/modules/FindCarbon.cmake @@ -1,3 +1,8 @@ +# Copyright (c) 2006, Benjamin Reed, <ranger@befunk.com> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + INCLUDE(CMakeFindFrameworks) CMAKE_FIND_FRAMEWORKS(Carbon) diff --git a/modules/FindCups.cmake b/modules/FindCups.cmake index 5f63870a..a6bb9202 100644 --- a/modules/FindCups.cmake +++ b/modules/FindCups.cmake @@ -6,6 +6,11 @@ # CUPS_LIBRARIES - Libraries needed to use Cups # CUPS_DEFINITIONS - Compiler switches required for using Cups # +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (CUPS_INCLUDE_DIR AND CUPS_LIBRARIES) diff --git a/modules/FindDNSSD.cmake b/modules/FindDNSSD.cmake index ba7f1f57..fca7f33e 100644 --- a/modules/FindDNSSD.cmake +++ b/modules/FindDNSSD.cmake @@ -7,6 +7,11 @@ # DNSSD_DEFINITIONS - Compiler switches required for using DNSSD # # need more test: look at into dnssd/configure.in.in +# +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. FIND_PATH(DNSSD_INCLUDE_DIR dns_sd.h /usr/include diff --git a/modules/FindENCHANT.cmake b/modules/FindENCHANT.cmake index abda9dde..04ddb0fe 100644 --- a/modules/FindENCHANT.cmake +++ b/modules/FindENCHANT.cmake @@ -6,6 +6,11 @@ # ENCHANT_LIBRARIES - Link these to use ENCHANT # ENCHANT_DEFINITIONS - Compiler switches required for using ENCHANT # +# Copyright (c) 2006, Zack Rusin, <zack@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES) diff --git a/modules/FindFAM.cmake b/modules/FindFAM.cmake index e0a92b72..bdfa0e03 100644 --- a/modules/FindFAM.cmake +++ b/modules/FindFAM.cmake @@ -4,6 +4,12 @@ # FAM_FOUND - system has FAM # FAM_INCLUDE_DIR - the FAM include directory # FAM_LIBRARIES - The libraries needed to use FAM +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (FAM_INCLUDE_DIR) # Already in cache, be silent diff --git a/modules/FindFontconfig.cmake b/modules/FindFontconfig.cmake index 541b20d8..3f588479 100644 --- a/modules/FindFontconfig.cmake +++ b/modules/FindFontconfig.cmake @@ -5,6 +5,11 @@ # FONTCONFIG_LIBRARIES - Link these to use FONTCONFIG # FONTCONFIG_DEFINITIONS - Compiler switches required for using FONTCONFIG # +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (FONTCONFIG_LIBRARIES AND FONTCONFIG_DEFINITIONS) diff --git a/modules/FindFreetype.cmake b/modules/FindFreetype.cmake index 8a11dc40..8fdb1692 100644 --- a/modules/FindFreetype.cmake +++ b/modules/FindFreetype.cmake @@ -5,6 +5,11 @@ # FREETYPE_INCLUDE_DIR - the FONTCONFIG include directory # FREETYPE_LIBRARIES - Link these to use FREETYPE # +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIR) diff --git a/modules/FindGIF.cmake b/modules/FindGIF.cmake index cf2324c0..14efd818 100644 --- a/modules/FindGIF.cmake +++ b/modules/FindGIF.cmake @@ -6,6 +6,8 @@ # GIF_LIBRARIES - Libraries needed to use GIF # GIF_DEFINITIONS - Compiler switches required for using GIF # +# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. +# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. if (GIF_INCLUDE_DIR AND GIF_LIBRARIES) # Already in cache, be silent diff --git a/modules/FindGNUWIN32.cmake b/modules/FindGNUWIN32.cmake index 4a2c6adc..f9f0d4d6 100644 --- a/modules/FindGNUWIN32.cmake +++ b/modules/FindGNUWIN32.cmake @@ -1,3 +1,10 @@ + +# Copyright (c) 2006, Peter Kuemmel, <syntheticpp@yahoo.com> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + if (WIN32) # check if GNUWIN32_DIR is already set diff --git a/modules/FindGSSAPI.cmake b/modules/FindGSSAPI.cmake index 8fd65a18..daf16113 100644 --- a/modules/FindGSSAPI.cmake +++ b/modules/FindGSSAPI.cmake @@ -5,6 +5,12 @@ # GSSAPI_INCS - the GSSAPI include directory # GSSAPI_LIBS - the libraries needed to use GSSAPI # GSSAPI_FLAVOR - the type of API - MIT or HEIMDAL +# +# Copyright (c) 2006, Pino Toscano, <toscano.pino@tiscali.it> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + IF(GSSAPI_LIBS AND GSSAPI_FLAVOR) diff --git a/modules/FindGettext.cmake b/modules/FindGettext.cmake index e4dda701..c6b096c8 100644 --- a/modules/FindGettext.cmake +++ b/modules/FindGettext.cmake @@ -9,6 +9,12 @@ # present in libc. Must have more robust system for release, where Gettext # functionality can also reside in standalone Gettext library, or the one # embedded within kdelibs (cf. gettext.m4 from Gettext source). +# +# Copyright (c) 2006, Chusslove Illich, <caslav.ilic@gmx.net> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (LIBC_HAS_DGETTEXT OR LIBINTL_HAS_DGETTEXT) diff --git a/modules/FindHSPELL.cmake b/modules/FindHSPELL.cmake index 0a029fb8..08a5792c 100644 --- a/modules/FindHSPELL.cmake +++ b/modules/FindHSPELL.cmake @@ -6,6 +6,11 @@ # HSPELL_LIBRARIES - The libraries needed to use HSPELL # HSPELL_DEFINITIONS - Compiler switches required for using HSPELL # +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (HSPELL_INCLUDE_DIR AND HSPELL_LIBRARIES) # Already in cache, be silent diff --git a/modules/FindJasper.cmake b/modules/FindJasper.cmake index 23867f34..99b52a77 100644 --- a/modules/FindJasper.cmake +++ b/modules/FindJasper.cmake @@ -4,6 +4,12 @@ # JASPER_FOUND - system has Jasper # JASPER_INCLUDE_DIR - the Jasper include directory # JASPER_LIBRARIES - The libraries needed to use Jasper +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + FIND_PACKAGE(JPEG) diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake index cf3a7b11..385a34f4 100644 --- a/modules/FindKDEWIN32.cmake +++ b/modules/FindKDEWIN32.cmake @@ -4,6 +4,12 @@ # KDEWIN32_FOUND - system has KDEWIN32 # KDEWIN32_INCLUDES - the KDEWIN32 include directories # KDEWIN32_LIBRARIES - The libraries needed to use KDEWIN32 +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (WIN32) diff --git a/modules/FindKdepimLibs.cmake b/modules/FindKdepimLibs.cmake index 15209d93..7a382586 100644 --- a/modules/FindKdepimLibs.cmake +++ b/modules/FindKdepimLibs.cmake @@ -1,6 +1,12 @@ # Find if we installed kdepimlibs before to compile it +# +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -FIND_PATH( KDEPIMLIBS_INCLUDE_DIR kcal/kcal.h + +find_path( KDEPIMLIBS_INCLUDE_DIR kcal/kcal.h ${KDE4_INCLUDE_DIR} ) diff --git a/modules/FindLibArt.cmake b/modules/FindLibArt.cmake index 38f43e5d..dacd4b2f 100644 --- a/modules/FindLibArt.cmake +++ b/modules/FindLibArt.cmake @@ -4,6 +4,12 @@ # LIBART_FOUND - system has the LibArt # LIBART_INCLUDE_DIR - the LibArt include directory # LIBART_LIBRARIES - The libraries needed to use LibArt +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (LIBART_INCLUDE_DIR AND LIBART_LIBRARIES) diff --git a/modules/FindLibXml2.cmake b/modules/FindLibXml2.cmake index 037ab383..a1fb8b42 100644 --- a/modules/FindLibXml2.cmake +++ b/modules/FindLibXml2.cmake @@ -8,6 +8,12 @@ # # Copyright (c) 2006, Alexander Neundorf <neundorf@kde.org> # This code is available under the BSD license, see licenses/BSD for details. +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (LIBXML2_INCLUDE_DIR AND LIBXML2_LIBRARIES) diff --git a/modules/FindLibXslt.cmake b/modules/FindLibXslt.cmake index d71cca22..6f116f5d 100644 --- a/modules/FindLibXslt.cmake +++ b/modules/FindLibXslt.cmake @@ -6,6 +6,11 @@ # LIBXSLT_LIBRARIES - Link these to LibXslt # LIBXSLT_DEFINITIONS - Compiler switches required for using LibXslt # +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (LIBXSLT_INCLUDE_DIR AND LIBXSLT_LIBRARIES) diff --git a/modules/FindMusicBrainz.cmake b/modules/FindMusicBrainz.cmake index 0ec56ffc..c4ccef80 100644 --- a/modules/FindMusicBrainz.cmake +++ b/modules/FindMusicBrainz.cmake @@ -1,5 +1,10 @@ # Option for build or not MusicBrainz -# Laurent Montel <montel@kde.org> 2006 +# +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + FIND_PATH(MUSICBRAINZ_INCLUDE_DIR musicbrainz/musicbrainz.h /usr/include diff --git a/modules/FindMySQL.cmake b/modules/FindMySQL.cmake index 151251be..426f11ed 100644 --- a/modules/FindMySQL.cmake +++ b/modules/FindMySQL.cmake @@ -4,6 +4,12 @@ # MYSQL_INCLUDE_DIR, where to find mysql.h # MYSQL_LIBRARIES, the libraries needed to use MySQL. # MYSQL_FOUND, If false, do not try to use MySQL. +# +# Copyright (c) 2006, Jaroslaw Staniek, <js@iidea.pl> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + find_path(MYSQL_INCLUDE_DIR mysql.h /usr/include/mysql diff --git a/modules/FindOpenEXR.cmake b/modules/FindOpenEXR.cmake index 34620674..81627b7e 100644 --- a/modules/FindOpenEXR.cmake +++ b/modules/FindOpenEXR.cmake @@ -4,6 +4,11 @@ # OPENEXR_FOUND - system has OpenEXR # OPENEXR_INCLUDE_DIR - OpenEXR include directory # OPENEXR_LIBRARIES - Libraries needed to use OpenEXR +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. if (OPENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES) diff --git a/modules/FindOpenSSL.cmake b/modules/FindOpenSSL.cmake index 5188c6f3..f4bd85bd 100644 --- a/modules/FindOpenSSL.cmake +++ b/modules/FindOpenSSL.cmake @@ -4,6 +4,13 @@ # OPENSSL_FOUND - system has the OpenSSL library
# OPENSSL_INCLUDE_DIR - the OpenSSL include directory
# OPENSSL_LIBRARIES - The libraries needed to use OpenSSL
+#
+# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
if(OPENSSL_LIBRARIES)
SET(LIB_FOUND 1)
endif(OPENSSL_LIBRARIES)
diff --git a/modules/FindPCRE.cmake b/modules/FindPCRE.cmake index 16116867..27ea971d 100644 --- a/modules/FindPCRE.cmake +++ b/modules/FindPCRE.cmake @@ -4,6 +4,12 @@ # PCRE_FOUND - system has the PCRE library # PCRE_INCLUDE_DIR - the PCRE include directory # PCRE_LIBRARIES - The libraries needed to use PCRE +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (PCRE_INCLUDE_DIR AND PCRE_LIBRARIES) # Already in cache, be silent diff --git a/modules/FindPNG.cmake b/modules/FindPNG.cmake index 797dd025..c0c18d8e 100644 --- a/modules/FindPNG.cmake +++ b/modules/FindPNG.cmake @@ -10,6 +10,11 @@ # PNG_LIBRARY, where to find the PNG library. # None of the above will be defined unles zlib can be found. # PNG depends on Zlib +# +# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. +# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. + + INCLUDE(FindZLIB) SET(PNG_FOUND "NO") diff --git a/modules/FindPostgreSQL.cmake b/modules/FindPostgreSQL.cmake index b5de3a4b..db657240 100644 --- a/modules/FindPostgreSQL.cmake +++ b/modules/FindPostgreSQL.cmake @@ -4,6 +4,12 @@ # POSTGRESQL_INCLUDE_DIR, where to find POSTGRESQL.h # POSTGRESQL_LIBRARIES, the libraries needed to use POSTGRESQL. # POSTGRESQL_FOUND, If false, do not try to use PostgreSQL. +# +# Copyright (c) 2006, Jaroslaw Staniek, <js@iidea.pl> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + find_path(POSTGRESQL_INCLUDE_DIR libpq-fe.h /usr/include/pgsql diff --git a/modules/FindQCA2.cmake b/modules/FindQCA2.cmake index 72de27c5..c9ba1bf7 100644 --- a/modules/FindQCA2.cmake +++ b/modules/FindQCA2.cmake @@ -8,6 +8,12 @@ # # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls +# +# Copyright (c) 2006, Michael Larouche, <michael.larouche@kdemail.net> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + INCLUDE(UsePkgConfig) diff --git a/modules/FindQt4.cmake b/modules/FindQt4.cmake index e9174f0a..1cfc2540 100644 --- a/modules/FindQt4.cmake +++ b/modules/FindQt4.cmake @@ -186,6 +186,10 @@ # These variables are set to "" Because Qt structure changed # (They make no sense in Qt4) # QT_QT_LIBRARY Qt-Library is now split +# +# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. +# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. + INCLUDE(CheckSymbolExists) INCLUDE(MacroAddFileDependencies) diff --git a/modules/FindRUBY.cmake b/modules/FindRUBY.cmake index 8bcfb357..4510660b 100644 --- a/modules/FindRUBY.cmake +++ b/modules/FindRUBY.cmake @@ -1,11 +1,16 @@ -# - Find ruby -# This module finds if RUBY is installed and determines where the include files +# - Find Ruby +# This module finds if Ruby is installed and determines where the include files # and libraries are. It also determines what the name of the library is. This # code sets the following variables: # # RUBY_INCLUDE_PATH = path to where ruby.h can be found # RUBY_EXECUTABLE = full path to the ruby binary # +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if(RUBY_LIBRARY AND RUBY_INCLUDE_PATH) # Already in cache, be silent diff --git a/modules/FindSasl2.cmake b/modules/FindSasl2.cmake index b790f57d..88a32bc0 100644 --- a/modules/FindSasl2.cmake +++ b/modules/FindSasl2.cmake @@ -4,6 +4,12 @@ # SASL2_FOUND - system has SASL2 # SASL2_INCLUDE_DIR - the SASL2 include directory # SASL2_LIBRARIES - The libraries needed to use SASL2 +# +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (SASL2_INCLUDE_DIR) # Already in cache, be silent diff --git a/modules/FindTIFF.cmake b/modules/FindTIFF.cmake index 7c6cfd91..6cacf167 100644 --- a/modules/FindTIFF.cmake +++ b/modules/FindTIFF.cmake @@ -6,6 +6,9 @@ # TIFF_FOUND, If false, do NOT try to use TIFF. # also defined, but NOT for general use are # TIFF_LIBRARY, where to find the TIFF library. +# +# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. +# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. if (TIFF_INCLUDE_DIR) # Already in cache, be silent diff --git a/modules/FindTaglib.cmake b/modules/FindTaglib.cmake index 7f258785..dc8bea36 100644 --- a/modules/FindTaglib.cmake +++ b/modules/FindTaglib.cmake @@ -4,8 +4,14 @@ # TAGLIB_FOUND - system has the taglib library # TAGLIB_CFLAGS - the taglib cflags # TAGLIB_LIBRARIES - The libraries needed to use taglib +# +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + - #KDE_CHECK_HEADER(taglib/mpcfile.h, have_taglib_mpc=yes, have_taglib_mpc=no) +#KDE_CHECK_HEADER(taglib/mpcfile.h, have_taglib_mpc=yes, have_taglib_mpc=no) FIND_PROGRAM(TAGLIBCONFIG_EXECUTABLE NAMES taglib-config PATHS /usr/bin diff --git a/modules/FindUSB.cmake b/modules/FindUSB.cmake index b6c6949e..5c4d65d6 100644 --- a/modules/FindUSB.cmake +++ b/modules/FindUSB.cmake @@ -4,6 +4,12 @@ # LIBUSB_FOUND - system has libusb # LIBUSB_INCLUDE_DIR - the libusb include directory # LIBUSB_LIBRARIES - Link these to use libusb +# +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES) diff --git a/modules/FindX11.cmake b/modules/FindX11.cmake index 6456e9e9..7bd3bde2 100644 --- a/modules/FindX11.cmake +++ b/modules/FindX11.cmake @@ -4,6 +4,9 @@ # X11_INCLUDE_DIR - include directories to use X11 # X11_LIBRARIES - link against these to use X11 +# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. +# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. + if (UNIX) set(X11_FOUND 0) diff --git a/modules/FindXmms.cmake b/modules/FindXmms.cmake index 33f9f395..f5719b22 100644 --- a/modules/FindXmms.cmake +++ b/modules/FindXmms.cmake @@ -1,5 +1,10 @@ # Search xmms -# Laurent Montel <montel@kde.org> 2006 +# +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + OPTION(KDE4_XMMS "enable support for XMMS") diff --git a/modules/FindZLIB.cmake b/modules/FindZLIB.cmake index b2a1a66b..c943cc3b 100644 --- a/modules/FindZLIB.cmake +++ b/modules/FindZLIB.cmake @@ -5,6 +5,9 @@ # ZLIB_LIBRARIES - List of libraries when using zlib. # ZLIB_FOUND - True if zlib found. +# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. +# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. + IF (ZLIB_INCLUDE_DIR) # Already in cache, be silent diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 69520940..63a19671 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -11,8 +11,11 @@ # KDE4_ADD_EXECUTABLE # KDE4_ADD_WIDGET_FILES -#neundorf@kde.org -#montel@kde.org +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. macro (KDE4_ADD_KCFG_FILES _sources ) IF( ${ARGV1} STREQUAL "GENERATE_MOC" ) diff --git a/modules/MacroAddCompileFlags.cmake b/modules/MacroAddCompileFlags.cmake index 67c0f29f..12038c00 100644 --- a/modules/MacroAddCompileFlags.cmake +++ b/modules/MacroAddCompileFlags.cmake @@ -1,5 +1,11 @@ # - MACRO_ADD_COMPILE_FLAGS(<_target> "flags...") +# Copyright (c) 2006, Oswald Buddenhagen, <ossi@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + MACRO (MACRO_ADD_COMPILE_FLAGS _target _flg) GET_TARGET_PROPERTY(_flags ${_target} COMPILE_FLAGS) diff --git a/modules/MacroAddFileDependencies.cmake b/modules/MacroAddFileDependencies.cmake index 13596912..61cb1ab5 100644 --- a/modules/MacroAddFileDependencies.cmake +++ b/modules/MacroAddFileDependencies.cmake @@ -1,6 +1,12 @@ # - MACRO_ADD_FILE_DEPENDENCIES(<_file> depend_files...) # MACRO_OPTIONAL_FIND_PACKAGE( <name> [QUIT] ) +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + MACRO (MACRO_ADD_FILE_DEPENDENCIES _file) GET_SOURCE_FILE_PROPERTY(_deps ${_file} OBJECT_DEPENDS) diff --git a/modules/MacroAddLinkFlags.cmake b/modules/MacroAddLinkFlags.cmake index d83fe2d9..a10d39ea 100644 --- a/modules/MacroAddLinkFlags.cmake +++ b/modules/MacroAddLinkFlags.cmake @@ -1,5 +1,10 @@ # - MACRO_ADD_LINK_FLAGS(<_target> "flags...") +# Copyright (c) 2006, Oswald Buddenhagen, <ossi@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + MACRO (MACRO_ADD_LINK_FLAGS _target _flg) GET_TARGET_PROPERTY(_flags ${_target} LINK_FLAGS) diff --git a/modules/MacroAdditionalCleanFiles.cmake b/modules/MacroAdditionalCleanFiles.cmake index 0da79c73..593182fe 100644 --- a/modules/MacroAdditionalCleanFiles.cmake +++ b/modules/MacroAdditionalCleanFiles.cmake @@ -1,6 +1,12 @@ # - MACRO_ADDITIONAL_CLEAN_FILES(files...) # MACRO_OPTIONAL_FIND_PACKAGE( <name> [QUIT] ) +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + MACRO (MACRO_ADDITIONAL_CLEAN_FILES) GET_DIRECTORY_PROPERTY(_tmp_DIR_PROPS ADDITIONAL_MAKE_CLEAN_FILES ) diff --git a/modules/MacroBoolTo01.cmake b/modules/MacroBoolTo01.cmake index 7580cce3..63b98526 100644 --- a/modules/MacroBoolTo01.cmake +++ b/modules/MacroBoolTo01.cmake @@ -3,6 +3,12 @@ # and sets all the given vaiables either to 0 or 1 # depending on the value of the first one +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + MACRO(MACRO_BOOL_TO_01 FOUND_VAR ) FOREACH (_current_VAR ${ARGN}) IF(${FOUND_VAR}) diff --git a/modules/MacroEnsureOutOfSourceBuild.cmake b/modules/MacroEnsureOutOfSourceBuild.cmake index c2e2c862..ef4d525f 100644 --- a/modules/MacroEnsureOutOfSourceBuild.cmake +++ b/modules/MacroEnsureOutOfSourceBuild.cmake @@ -1,6 +1,11 @@ # - MACRO_ENSURE_OUT_OF_SOURCE_BUILD(<errorMessage>) # MACRO_ENSURE_OUT_OF_SOURCE_BUILD(<errorMessage>) +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + MACRO (MACRO_ENSURE_OUT_OF_SOURCE_BUILD _errorMessage) STRING(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" insource) diff --git a/modules/MacroEnsureVersion.cmake b/modules/MacroEnsureVersion.cmake index ab395819..3ff1d72f 100644 --- a/modules/MacroEnsureVersion.cmake +++ b/modules/MacroEnsureVersion.cmake @@ -1,9 +1,12 @@ -# LGPL-v2, David Faure -# # This macro compares version numbers of the form "x.y.z" # MACRO_ENSURE_VERSION( ${FOO_MIN_VERSION} ${FOO_VERSION_FOUND} FOO_VERSION_OK) # will set FOO_VERSIN_OK to true if FOO_VERSION_FOUND >= FOO_MIN_VERSION + +# Copyright (c) 2006, David Faure, <faure@kde.org> # +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + MACRO(MACRO_ENSURE_VERSION requested_version found_version var_too_old) # parse the parts of the version string diff --git a/modules/MacroLibrary.cmake b/modules/MacroLibrary.cmake index d45414a5..59836927 100644 --- a/modules/MacroLibrary.cmake +++ b/modules/MacroLibrary.cmake @@ -1,6 +1,11 @@ # - include MacroLibrary offers a collection of macros which extend the built-in cmake commands # OPTIONAL_FIND_PACKAGE( <name> [QUIT] ) +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + INCLUDE(MacroOptionalFindPackage) INCLUDE(MacroAdditionalCleanFiles) INCLUDE(MacroAddFileDependencies) diff --git a/modules/MacroLogFeature.cmake b/modules/MacroLogFeature.cmake index 434fefb9..169775d0 100644 --- a/modules/MacroLogFeature.cmake +++ b/modules/MacroLogFeature.cmake @@ -24,6 +24,10 @@ # ... # MACRO_DISPLAY_FEATURE_LOG() +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. IF (NOT _macroLogFeatureAlreadyIncluded) SET(_file ${CMAKE_BINARY_DIR}/MissingRequirements.txt ) diff --git a/modules/MacroOptionalFindPackage.cmake b/modules/MacroOptionalFindPackage.cmake index 70681312..816cdb7e 100644 --- a/modules/MacroOptionalFindPackage.cmake +++ b/modules/MacroOptionalFindPackage.cmake @@ -7,6 +7,12 @@ # The standard <name>_FOUND variables can be used in the same way # as when using the normal FIND_PACKAGE() +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + MACRO (MACRO_OPTIONAL_FIND_PACKAGE _name ) OPTION(WITH_${_name} "Search for ${_name} package" ON) if (WITH_${_name}) diff --git a/modules/MacroPushRequiredVars.cmake b/modules/MacroPushRequiredVars.cmake index 34ff0e9f..2c8ec4e5 100644 --- a/modules/MacroPushRequiredVars.cmake +++ b/modules/MacroPushRequiredVars.cmake @@ -10,7 +10,11 @@ # SET(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} -DSOME_MORE_DEF) # CHECK_FUNCTION_EXISTS(...) # MACRO_POP_REQUIRED_VARS() + +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> # +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. MACRO(MACRO_PUSH_REQUIRED_VARS) SET(_CMAKE_REQUIRED_INCLUDES_SAVE ${CMAKE_REQUIRED_INCLUDES}) diff --git a/modules/kde4_exec_via_sh.cmake b/modules/kde4_exec_via_sh.cmake index a256403e..a42817a9 100755 --- a/modules/kde4_exec_via_sh.cmake +++ b/modules/kde4_exec_via_sh.cmake @@ -1,3 +1,9 @@ +# +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (UNIX) diff --git a/modules/kde4uic.cmake b/modules/kde4uic.cmake index 3cdcafcd..92841663 100644 --- a/modules/kde4uic.cmake +++ b/modules/kde4uic.cmake @@ -1,3 +1,7 @@ +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. #using a ui3 file with uic3 if (KDE3_IMPL) |