浏览代码

Convert CMake find-modules to BSD License

This adds copyright/license notification blocks CMake's find-modules.
Many of the modules had no notices at all.  Some had notices referring
to the BSD license already.  This commit normalizes existing notices and
adds missing notices.
Brad King 16 年之前
父节点
当前提交
c4bb9c9d42
共有 100 个文件被更改,包括 1288 次插入175 次删除
  1. 14 0
      Modules/FindALSA.cmake
  2. 12 4
      Modules/FindASPELL.cmake
  3. 13 0
      Modules/FindAVIFile.cmake
  4. 11 24
      Modules/FindBISON.cmake
  5. 14 0
      Modules/FindBLAS.cmake
  6. 12 4
      Modules/FindBZip2.cmake
  7. 16 14
      Modules/FindBoost.cmake
  8. 12 4
      Modules/FindBullet.cmake
  9. 13 0
      Modules/FindCABLE.cmake
  10. 13 0
      Modules/FindCURL.cmake
  11. 13 0
      Modules/FindCVS.cmake
  12. 13 1
      Modules/FindCoin3D.cmake
  13. 12 4
      Modules/FindCups.cmake
  14. 13 0
      Modules/FindCurses.cmake
  15. 14 8
      Modules/FindCxxTest.cmake
  16. 13 0
      Modules/FindCygwin.cmake
  17. 14 0
      Modules/FindDCMTK.cmake
  18. 13 0
      Modules/FindDart.cmake
  19. 14 1
      Modules/FindDevIL.cmake
  20. 13 0
      Modules/FindDoxygen.cmake
  21. 13 0
      Modules/FindEXPAT.cmake
  22. 11 24
      Modules/FindFLEX.cmake
  23. 13 0
      Modules/FindFLTK.cmake
  24. 13 0
      Modules/FindFLTK2.cmake
  25. 13 0
      Modules/FindFreetype.cmake
  26. 14 0
      Modules/FindGCCXML.cmake
  27. 14 0
      Modules/FindGDAL.cmake
  28. 13 0
      Modules/FindGIF.cmake
  29. 12 0
      Modules/FindGLU.cmake
  30. 13 0
      Modules/FindGLUT.cmake
  31. 13 0
      Modules/FindGTK.cmake
  32. 13 7
      Modules/FindGTK2.cmake
  33. 12 4
      Modules/FindGTest.cmake
  34. 12 1
      Modules/FindGettext.cmake
  35. 14 7
      Modules/FindGnuTLS.cmake
  36. 13 0
      Modules/FindGnuplot.cmake
  37. 13 0
      Modules/FindHDF5.cmake
  38. 12 4
      Modules/FindHSPELL.cmake
  39. 13 0
      Modules/FindHTMLHelp.cmake
  40. 12 0
      Modules/FindITK.cmake
  41. 12 4
      Modules/FindImageMagick.cmake
  42. 13 0
      Modules/FindJNI.cmake
  43. 13 0
      Modules/FindJPEG.cmake
  44. 12 4
      Modules/FindJasper.cmake
  45. 14 0
      Modules/FindJava.cmake
  46. 14 0
      Modules/FindKDE3.cmake
  47. 14 0
      Modules/FindKDE4.cmake
  48. 14 0
      Modules/FindLAPACK.cmake
  49. 13 0
      Modules/FindLATEX.cmake
  50. 12 4
      Modules/FindLibXml2.cmake
  51. 12 4
      Modules/FindLibXslt.cmake
  52. 12 0
      Modules/FindLua50.cmake
  53. 12 0
      Modules/FindLua51.cmake
  54. 13 0
      Modules/FindMFC.cmake
  55. 13 0
      Modules/FindMPEG.cmake
  56. 13 0
      Modules/FindMPEG2.cmake
  57. 13 0
      Modules/FindMPI.cmake
  58. 12 0
      Modules/FindMatlab.cmake
  59. 13 0
      Modules/FindMotif.cmake
  60. 13 0
      Modules/FindOpenAL.cmake
  61. 13 0
      Modules/FindOpenGL.cmake
  62. 12 6
      Modules/FindOpenMP.cmake
  63. 12 4
      Modules/FindOpenSSL.cmake
  64. 14 7
      Modules/FindOpenSceneGraph.cmake
  65. 13 0
      Modules/FindOpenThreads.cmake
  66. 13 0
      Modules/FindPHP4.cmake
  67. 12 0
      Modules/FindPNG.cmake
  68. 13 0
      Modules/FindPackageHandleStandardArgs.cmake
  69. 13 0
      Modules/FindPackageMessage.cmake
  70. 13 0
      Modules/FindPerl.cmake
  71. 13 0
      Modules/FindPerlLibs.cmake
  72. 13 0
      Modules/FindPhysFS.cmake
  73. 13 0
      Modules/FindPike.cmake
  74. 12 0
      Modules/FindPkgConfig.cmake
  75. 13 0
      Modules/FindProducer.cmake
  76. 14 4
      Modules/FindProtobuf.cmake
  77. 13 0
      Modules/FindPythonInterp.cmake
  78. 13 0
      Modules/FindPythonLibs.cmake
  79. 12 0
      Modules/FindQt.cmake
  80. 13 0
      Modules/FindQt3.cmake
  81. 12 0
      Modules/FindQt4.cmake
  82. 13 0
      Modules/FindQuickTime.cmake
  83. 14 0
      Modules/FindRTI.cmake
  84. 13 3
      Modules/FindRuby.cmake
  85. 13 0
      Modules/FindSDL.cmake
  86. 13 0
      Modules/FindSDL_image.cmake
  87. 13 0
      Modules/FindSDL_mixer.cmake
  88. 12 0
      Modules/FindSDL_net.cmake
  89. 12 0
      Modules/FindSDL_sound.cmake
  90. 13 0
      Modules/FindSDL_ttf.cmake
  91. 13 0
      Modules/FindSWIG.cmake
  92. 13 0
      Modules/FindSelfPackers.cmake
  93. 13 0
      Modules/FindSquish.cmake
  94. 11 24
      Modules/FindSubversion.cmake
  95. 13 0
      Modules/FindTCL.cmake
  96. 13 0
      Modules/FindTIFF.cmake
  97. 13 0
      Modules/FindTclStub.cmake
  98. 13 0
      Modules/FindTclsh.cmake
  99. 13 0
      Modules/FindThreads.cmake
  100. 13 0
      Modules/FindUnixCommands.cmake

+ 14 - 0
Modules/FindALSA.cmake

@@ -10,6 +10,20 @@
 #     ALSA_LIBRARY     - the asound library
 #     ALSA_LIBRARY     - the asound library
 #
 #
 
 
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2009 Philip Lowman <[email protected]>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 find_path(ALSA_INCLUDE_DIR NAMES asoundlib.h
 find_path(ALSA_INCLUDE_DIR NAMES asoundlib.h
           PATH_SUFFIXES alsa
           PATH_SUFFIXES alsa
           DOC "The ALSA (asound) include directory"
           DOC "The ALSA (asound) include directory"

+ 12 - 4
Modules/FindASPELL.cmake

@@ -6,11 +6,19 @@
 #  ASPELL_LIBRARIES - The libraries needed to use ASPELL
 #  ASPELL_LIBRARIES - The libraries needed to use ASPELL
 #  ASPELL_DEFINITIONS - Compiler switches required for using ASPELL
 #  ASPELL_DEFINITIONS - Compiler switches required for using ASPELL
 
 
-# Copyright (c) 2006, Alexander Neundorf, <[email protected]>
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 IF (ASPELL_INCLUDE_DIR AND ASPELL_LIBRARIES)
 IF (ASPELL_INCLUDE_DIR AND ASPELL_LIBRARIES)
   # Already in cache, be silent
   # Already in cache, be silent

+ 13 - 0
Modules/FindAVIFile.cmake

@@ -9,6 +9,19 @@
 #  AVIFILE_DEFINITIONS, definitions to use when compiling
 #  AVIFILE_DEFINITIONS, definitions to use when compiling
 #  AVIFILE_FOUND, If false, don't try to use AVIFILE
 #  AVIFILE_FOUND, If false, don't try to use AVIFILE
 
 
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF (UNIX)
 IF (UNIX)
 
 
   FIND_PATH(AVIFILE_INCLUDE_DIR avifile.h
   FIND_PATH(AVIFILE_INCLUDE_DIR avifile.h

+ 11 - 24
Modules/FindBISON.cmake

@@ -30,32 +30,19 @@
 # add_executable(Foo main.cpp ${BISON_MyParser_OUTPUTS})
 # add_executable(Foo main.cpp ${BISON_MyParser_OUTPUTS})
 #====================================================================
 #====================================================================
 
 
-# Copyright (c) 2006, Tristan Carel
-# All rights reserved.
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2006 Tristan Carel
 #
 #
-#     * Redistributions of source code must retain the above copyright
-#       notice, this list of conditions and the following disclaimer.
-#     * Redistributions in binary form must reproduce the above copyright
-#       notice, this list of conditions and the following disclaimer in the
-#       documentation and/or other materials provided with the distribution.
-#     * Neither the name of the University of California, Berkeley nor the
-#       names of its contributors may be used to endorse or promote products
-#       derived from this software without specific prior written permission.
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
 #
 #
-# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# $Id$
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 FIND_PROGRAM(BISON_EXECUTABLE bison DOC "path to the bison executable")
 FIND_PROGRAM(BISON_EXECUTABLE bison DOC "path to the bison executable")
 MARK_AS_ADVANCED(BISON_EXECUTABLE)
 MARK_AS_ADVANCED(BISON_EXECUTABLE)

+ 14 - 0
Modules/FindBLAS.cmake

@@ -25,6 +25,20 @@
 ##  ATLAS, PhiPACK,CXML,DXML,SunPerf,SCSL,SGIMATH,IBMESSL,Intel10_32 (intel mkl v10 32 bit),Intel10_64lp (intel mkl v10 64 bit,lp thread model, lp64 model),
 ##  ATLAS, PhiPACK,CXML,DXML,SunPerf,SCSL,SGIMATH,IBMESSL,Intel10_32 (intel mkl v10 32 bit),Intel10_64lp (intel mkl v10 64 bit,lp thread model, lp64 model),
 ##  Intel( older versions of mkl 32 and 64 bit), ACML,Apple, NAS, Generic
 ##  Intel( older versions of mkl 32 and 64 bit), ACML,Apple, NAS, Generic
 # C/CXX should be enabled to use Intel mkl
 # C/CXX should be enabled to use Intel mkl
+
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 get_property(_LANGUAGES_ GLOBAL PROPERTY ENABLED_LANGUAGES)
 get_property(_LANGUAGES_ GLOBAL PROPERTY ENABLED_LANGUAGES)
 if(NOT _LANGUAGES_ MATCHES Fortran)
 if(NOT _LANGUAGES_ MATCHES Fortran)
   if(BLAS_FIND_REQUIRED)
   if(BLAS_FIND_REQUIRED)

+ 12 - 4
Modules/FindBZip2.cmake

@@ -7,11 +7,19 @@
 #  BZIP2_DEFINITIONS - Compiler switches required for using BZip2
 #  BZIP2_DEFINITIONS - Compiler switches required for using BZip2
 #  BZIP2_NEED_PREFIX - this is set if the functions are prefixed with BZ2_
 #  BZIP2_NEED_PREFIX - this is set if the functions are prefixed with BZ2_
 
 
-# Copyright (c) 2006, Alexander Neundorf, <[email protected]>
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 IF (BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES)
 IF (BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES)
     SET(BZip2_FIND_QUIETLY TRUE)
     SET(BZip2_FIND_QUIETLY TRUE)

+ 16 - 14
Modules/FindBoost.cmake

@@ -147,21 +147,23 @@
 #   Boost_${COMPONENT}_LIBRARY          Contains the libraries for the specified Boost
 #   Boost_${COMPONENT}_LIBRARY          Contains the libraries for the specified Boost
 #                                       "component" (includes debug and optimized keywords
 #                                       "component" (includes debug and optimized keywords
 #                                       when needed).
 #                                       when needed).
-#
-# =====================================================================
-#
-#
-#  Copyright (c) 2006-2008 Andreas Schneider <[email protected]>
-#  Copyright (c) 2007      Wengo
-#  Copyright (c) 2007      Mike Jackson
-#  Copyright (c) 2008      Andreas Pakulat <[email protected]>
-#
-#  Redistribution AND use is allowed according to the terms of the New
-#  BSD license.
-#  For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-#
-
 
 
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006-2008 Andreas Schneider <[email protected]>
+# Copyright 2007      Wengo
+# Copyright 2007      Mike Jackson
+# Copyright 2008      Andreas Pakulat <[email protected]>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 #-------------------------------------------------------------------------------
 #-------------------------------------------------------------------------------
 #  FindBoost functions & macros
 #  FindBoost functions & macros

+ 12 - 4
Modules/FindBullet.cmake

@@ -13,11 +13,19 @@
 #  BULLET_ROOT - Can be set to bullet install path or Windows build path
 #  BULLET_ROOT - Can be set to bullet install path or Windows build path
 #
 #
 
 
-# Copyright (c) 2009, Philip Lowman <[email protected]>
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2009 Philip Lowman <[email protected]>
 #
 #
-# Redistribution AND use is allowed according to the terms of the New
-# BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 macro(_FIND_BULLET_LIBRARY _var)
 macro(_FIND_BULLET_LIBRARY _var)
   find_library(${_var}
   find_library(${_var}

+ 13 - 0
Modules/FindCABLE.cmake

@@ -10,6 +10,19 @@
 # ${CABLE_TCL_LIBRARY}.  You should also add ${CABLE_INCLUDE_DIR} as
 # ${CABLE_TCL_LIBRARY}.  You should also add ${CABLE_INCLUDE_DIR} as
 # an include directory.
 # an include directory.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF(NOT CABLE)
 IF(NOT CABLE)
   FIND_PATH(CABLE_BUILD_DIR cableVersion.h)
   FIND_PATH(CABLE_BUILD_DIR cableVersion.h)
 ENDIF(NOT CABLE)
 ENDIF(NOT CABLE)

+ 13 - 0
Modules/FindCURL.cmake

@@ -5,6 +5,19 @@
 #  CURL_LIBRARIES    - List of libraries when using curl.
 #  CURL_LIBRARIES    - List of libraries when using curl.
 #  CURL_FOUND        - True if curl found.
 #  CURL_FOUND        - True if curl found.
 
 
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Look for the header file.
 # Look for the header file.
 FIND_PATH(CURL_INCLUDE_DIR NAMES curl/curl.h)
 FIND_PATH(CURL_INCLUDE_DIR NAMES curl/curl.h)
 MARK_AS_ADVANCED(CURL_INCLUDE_DIR)
 MARK_AS_ADVANCED(CURL_INCLUDE_DIR)

+ 13 - 0
Modules/FindCVS.cmake

@@ -7,6 +7,19 @@
 #     message("CVS found: ${CVS_EXECUTABLE}")
 #     message("CVS found: ${CVS_EXECUTABLE}")
 #   endif(CVS_FOUND)
 #   endif(CVS_FOUND)
 
 
+#=============================================================================
+# Copyright 2008-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # CVSNT
 # CVSNT
 
 
 get_filename_component(
 get_filename_component(

+ 13 - 1
Modules/FindCoin3D.cmake

@@ -8,7 +8,19 @@
 #  COIN3D_INCLUDE_DIRS  - where the Inventor include directory can be found
 #  COIN3D_INCLUDE_DIRS  - where the Inventor include directory can be found
 #  COIN3D_LIBRARIES     - Link to this to use Coin3D
 #  COIN3D_LIBRARIES     - Link to this to use Coin3D
 #
 #
- 
+
+#=============================================================================
+# Copyright 2008-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 IF (WIN32)
 IF (WIN32)
   IF (CYGWIN)
   IF (CYGWIN)

+ 12 - 4
Modules/FindCups.cmake

@@ -7,11 +7,19 @@
 #  Set CUPS_REQUIRE_IPP_DELETE_ATTRIBUTE to TRUE if you need a version which 
 #  Set CUPS_REQUIRE_IPP_DELETE_ATTRIBUTE to TRUE if you need a version which 
 #  features this function (i.e. at least 1.1.19)
 #  features this function (i.e. at least 1.1.19)
 
 
-# Copyright (c) 2006, Alexander Neundorf, <[email protected]>
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 INCLUDE(CheckLibraryExists)
 INCLUDE(CheckLibraryExists)
 
 

+ 13 - 0
Modules/FindCurses.cmake

@@ -12,6 +12,19 @@
 # Set CURSES_NEED_NCURSES to TRUE before the FIND_PACKAGE() command if NCurses 
 # Set CURSES_NEED_NCURSES to TRUE before the FIND_PACKAGE() command if NCurses 
 # functionality is required.
 # functionality is required.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_LIBRARY(CURSES_CURSES_LIBRARY NAMES curses )
 FIND_LIBRARY(CURSES_CURSES_LIBRARY NAMES curses )
 
 
 FIND_LIBRARY(CURSES_NCURSES_LIBRARY NAMES ncurses )
 FIND_LIBRARY(CURSES_NCURSES_LIBRARY NAMES ncurses )

+ 14 - 8
Modules/FindCxxTest.cmake

@@ -64,6 +64,20 @@
 #          };
 #          };
 #
 #
 
 
+#=============================================================================
+# Copyright 2008-2009 Kitware, Inc.
+# Copyright 2008-2009 Philip Lowman <[email protected]>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Version 1.2 (3/2/08)
 # Version 1.2 (3/2/08)
 #     Included patch from Tyler Roscoe to have the perl & python binaries
 #     Included patch from Tyler Roscoe to have the perl & python binaries
 #     detected based on CXXTEST_INCLUDE_DIR
 #     detected based on CXXTEST_INCLUDE_DIR
@@ -75,14 +89,6 @@
 #     Fixed CXXTEST_INCLUDE_DIRS so it will work properly
 #     Fixed CXXTEST_INCLUDE_DIRS so it will work properly
 #     Eliminated superfluous CXXTEST_FOUND assignment
 #     Eliminated superfluous CXXTEST_FOUND assignment
 #     Cleaned up and added more documentation
 #     Cleaned up and added more documentation
-#
-# FindCxxTest.cmake
-# Copyright (c) 2008-2009
-#     Philip Lowman <[email protected]>
-#
-#  Redistribution AND use is allowed according to the terms of the New
-#  BSD license.
-#  For details see the accompanying COPYING-CMAKE-SCRIPTS file.
 
 
 #=============================================================
 #=============================================================
 # CXXTEST_ADD_TEST (public macro)
 # CXXTEST_ADD_TEST (public macro)

+ 13 - 0
Modules/FindCygwin.cmake

@@ -1,6 +1,19 @@
 # - this module looks for Cygwin
 # - this module looks for Cygwin
 #
 #
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF (WIN32)
 IF (WIN32)
   FIND_PATH(CYGWIN_INSTALL_PATH
   FIND_PATH(CYGWIN_INSTALL_PATH
     cygwin.bat
     cygwin.bat

+ 14 - 0
Modules/FindDCMTK.cmake

@@ -10,6 +10,20 @@
 # directories and compiled libraries if you've just compiled it in the
 # directories and compiled libraries if you've just compiled it in the
 # source tree. Just set it to the root of the tree where you extracted
 # source tree. Just set it to the root of the tree where you extracted
 # the source.
 # the source.
+
+#=============================================================================
+# Copyright 2004-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 #
 #
 # Written for VXL by Amitha Perera.
 # Written for VXL by Amitha Perera.
 # 
 # 

+ 13 - 0
Modules/FindDart.cmake

@@ -3,6 +3,19 @@
 # to point to where it found it.
 # to point to where it found it.
 #
 #
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(DART_ROOT README.INSTALL 
 FIND_PATH(DART_ROOT README.INSTALL 
     $ENV{DART_ROOT}
     $ENV{DART_ROOT}
     ${PROJECT_SOURCE_DIR}/Dart 
     ${PROJECT_SOURCE_DIR}/Dart 

+ 14 - 1
Modules/FindDevIL.cmake

@@ -8,7 +8,20 @@
 # IL_INCLUDE_DIR where to find the il.h, ilu.h and ilut.h files.
 # IL_INCLUDE_DIR where to find the il.h, ilu.h and ilut.h files.
 # IL_FOUND this is set to TRUE if all the above variables were set. This will be set to false if ILU or ILUT are not found, even if they are not needed. In most systems, if one library is found all the others are as well. That's the way the DevIL developers release it.
 # IL_FOUND this is set to TRUE if all the above variables were set. This will be set to false if ILU or ILUT are not found, even if they are not needed. In most systems, if one library is found all the others are as well. That's the way the DevIL developers release it.
 
 
-# Original file by: Christopher Harvey
+#=============================================================================
+# Copyright 2008-2009 Kitware, Inc.
+# Copyright 2008 Christopher Harvey
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # TODO: Add version support.
 # TODO: Add version support.
 # Tested under Linux and Windows (MSVC)
 # Tested under Linux and Windows (MSVC)
 
 

+ 13 - 0
Modules/FindDoxygen.cmake

@@ -18,6 +18,19 @@
 #
 #
 #
 #
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # For backwards compatibility support
 # For backwards compatibility support
 IF(Doxygen_FIND_QUIETLY)
 IF(Doxygen_FIND_QUIETLY)
   SET(DOXYGEN_FIND_QUIETLY TRUE)
   SET(DOXYGEN_FIND_QUIETLY TRUE)

+ 13 - 0
Modules/FindEXPAT.cmake

@@ -5,6 +5,19 @@
 #  EXPAT_LIBRARIES    - List of libraries when using expat.
 #  EXPAT_LIBRARIES    - List of libraries when using expat.
 #  EXPAT_FOUND        - True if expat found.
 #  EXPAT_FOUND        - True if expat found.
 
 
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Look for the header file.
 # Look for the header file.
 FIND_PATH(EXPAT_INCLUDE_DIR NAMES expat.h)
 FIND_PATH(EXPAT_INCLUDE_DIR NAMES expat.h)
 
 

+ 11 - 24
Modules/FindFLEX.cmake

@@ -44,32 +44,19 @@
 #  )
 #  )
 #====================================================================
 #====================================================================
 
 
-# Copyright (c) 2006, Tristan Carel
-# All rights reserved.
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2006 Tristan Carel
 #
 #
-#     * Redistributions of source code must retain the above copyright
-#       notice, this list of conditions and the following disclaimer.
-#     * Redistributions in binary form must reproduce the above copyright
-#       notice, this list of conditions and the following disclaimer in the
-#       documentation and/or other materials provided with the distribution.
-#     * Neither the name of the University of California, Berkeley nor the
-#       names of its contributors may be used to endorse or promote products
-#       derived from this software without specific prior written permission.
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
 #
 #
-# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# $Id$
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 FIND_PROGRAM(FLEX_EXECUTABLE flex DOC "path to the flex executable")
 FIND_PROGRAM(FLEX_EXECUTABLE flex DOC "path to the flex executable")
 MARK_AS_ADVANCED(FLEX_EXECUTABLE)
 MARK_AS_ADVANCED(FLEX_EXECUTABLE)

+ 13 - 0
Modules/FindFLTK.cmake

@@ -29,6 +29,19 @@
 #     FLTK_FORMS_LIBRARY  = the full path to fltk_forms.lib
 #     FLTK_FORMS_LIBRARY  = the full path to fltk_forms.lib
 #     FLTK_IMAGES_LIBRARY = the full path to fltk_images.lib
 #     FLTK_IMAGES_LIBRARY = the full path to fltk_images.lib
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF(NOT FLTK_SKIP_OPENGL)
 IF(NOT FLTK_SKIP_OPENGL)
   FIND_PACKAGE(OpenGL)
   FIND_PACKAGE(OpenGL)
 ENDIF()
 ENDIF()

+ 13 - 0
Modules/FindFLTK2.cmake

@@ -10,6 +10,19 @@
 #  FLTK2_GL_LIBRARY     = the full path to fltk2_gl.lib
 #  FLTK2_GL_LIBRARY     = the full path to fltk2_gl.lib
 #  FLTK2_IMAGES_LIBRARY = the full path to fltk2_images.lib
 #  FLTK2_IMAGES_LIBRARY = the full path to fltk2_images.lib
 
 
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 SET (FLTK2_DIR $ENV{FLTK2_DIR} )
 SET (FLTK2_DIR $ENV{FLTK2_DIR} )
 
 
 #  Platform dependent libraries required by FLTK2
 #  Platform dependent libraries required by FLTK2

+ 13 - 0
Modules/FindFreetype.cmake

@@ -11,6 +11,19 @@
 # correspond to the ./configure --prefix=$FREETYPE_DIR
 # correspond to the ./configure --prefix=$FREETYPE_DIR
 # used in building FREETYPE.
 # used in building FREETYPE.
 
 
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Created by Eric Wing. 
 # Created by Eric Wing. 
 # Modifications by Alexander Neundorf.
 # Modifications by Alexander Neundorf.
 # This file has been renamed to "FindFreetype.cmake" instead of the correct
 # This file has been renamed to "FindFreetype.cmake" instead of the correct

+ 14 - 0
Modules/FindGCCXML.cmake

@@ -1,4 +1,18 @@
 # - Find the GCC-XML front-end executable.
 # - Find the GCC-XML front-end executable.
+
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PROGRAM(GCCXML
 FIND_PROGRAM(GCCXML
   NAMES gccxml
   NAMES gccxml
         ../GCC_XML/gccxml
         ../GCC_XML/gccxml

+ 14 - 0
Modules/FindGDAL.cmake

@@ -9,6 +9,20 @@
 #    GDAL_FOUND - True if libgdal is found
 #    GDAL_FOUND - True if libgdal is found
 #    GDAL_LIBRARY - A variable pointing to the GDAL library
 #    GDAL_LIBRARY - A variable pointing to the GDAL library
 #    GDAL_INCLUDE_DIR - Where to find the headers
 #    GDAL_INCLUDE_DIR - Where to find the headers
+
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 #
 #
 # $GDALDIR is an environment variable that would
 # $GDALDIR is an environment variable that would
 # correspond to the ./configure --prefix=$GDAL_DIR
 # correspond to the ./configure --prefix=$GDAL_DIR

+ 13 - 0
Modules/FindGIF.cmake

@@ -6,6 +6,19 @@
 # $GIF_DIR is an environment variable that would
 # $GIF_DIR is an environment variable that would
 # correspond to the ./configure --prefix=$GIF_DIR
 # correspond to the ./configure --prefix=$GIF_DIR
 
 
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Created by Eric Wing. 
 # Created by Eric Wing. 
 # Modifications by Alexander Neundorf
 # Modifications by Alexander Neundorf
 
 

+ 12 - 0
Modules/FindGLU.cmake

@@ -1,4 +1,16 @@
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 # Use of this file is deprecated, and is here for backwards compatibility with CMake 1.4
 # Use of this file is deprecated, and is here for backwards compatibility with CMake 1.4
 # GLU library is now found by FindOpenGL.cmake
 # GLU library is now found by FindOpenGL.cmake

+ 13 - 0
Modules/FindGLUT.cmake

@@ -7,6 +7,19 @@
 #  GLUT_Xmu_LIBRARY  = the full path to the Xmu library.
 #  GLUT_Xmu_LIBRARY  = the full path to the Xmu library.
 #  GLUT_Xi_LIBRARY   = the full path to the Xi Library.
 #  GLUT_Xi_LIBRARY   = the full path to the Xi Library.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF (WIN32)
 IF (WIN32)
   FIND_PATH( GLUT_INCLUDE_DIR NAMES GL/glut.h 
   FIND_PATH( GLUT_INCLUDE_DIR NAMES GL/glut.h 
     PATHS  ${GLUT_ROOT_PATH}/include )
     PATHS  ${GLUT_ROOT_PATH}/include )

+ 13 - 0
Modules/FindGTK.cmake

@@ -4,6 +4,19 @@
 #  GTK_FOUND         - GTK was found
 #  GTK_FOUND         - GTK was found
 #  GTK_GL_FOUND      - GTK's GL features were found
 #  GTK_GL_FOUND      - GTK's GL features were found
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # don't even bother under WIN32
 # don't even bother under WIN32
 IF(UNIX)
 IF(UNIX)
 
 

+ 13 - 7
Modules/FindGTK2.cmake

@@ -50,10 +50,20 @@
 #   endif()
 #   endif()
 #
 #
 
 
-# 
-# Copyright (c) 2008-2009
-#     Philip Lowman <[email protected]>
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2008-2009 Philip Lowman <[email protected]>
 #
 #
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Version 0.7 (3/22/09)
 # Version 0.7 (3/22/09)
 #   * Checked into CMake CVS
 #   * Checked into CMake CVS
 #   * Added versioning support
 #   * Added versioning support
@@ -70,10 +80,6 @@
 #   Added GTK2_SKIP_MARK_AS_ADVANCED option
 #   Added GTK2_SKIP_MARK_AS_ADVANCED option
 # Version 0.5 (12/19/08)
 # Version 0.5 (12/19/08)
 #   Second release to cmake mailing list
 #   Second release to cmake mailing list
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
 
 
 #=============================================================
 #=============================================================
 # _GTK2_GET_VERSION
 # _GTK2_GET_VERSION

+ 12 - 4
Modules/FindGTest.cmake

@@ -12,11 +12,19 @@
 #   GTEST_ROOT - The root directory of the gtest install prefix
 #   GTEST_ROOT - The root directory of the gtest install prefix
 #
 #
 
 
-# Copyright (c) 2009, Philip Lowman <[email protected]>
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2009 Philip Lowman <[email protected]>
 #
 #
-# Redistribution AND use is allowed according to the terms of the New
-# BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 find_path(GTEST_INCLUDE_DIR gtest/gtest.h
 find_path(GTEST_INCLUDE_DIR gtest/gtest.h
     HINTS
     HINTS

+ 12 - 1
Modules/FindGettext.cmake

@@ -12,7 +12,18 @@
 #    ALL option is used, the translations will also be created when
 #    ALL option is used, the translations will also be created when
 #    building the default target.
 #    building the default target.
 
 
-
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 FIND_PROGRAM(GETTEXT_MSGMERGE_EXECUTABLE msgmerge)
 FIND_PROGRAM(GETTEXT_MSGMERGE_EXECUTABLE msgmerge)
 
 

+ 14 - 7
Modules/FindGnuTLS.cmake

@@ -7,15 +7,22 @@
 #  GNUTLS_LIBRARIES - The libraries needed to use gnutls
 #  GNUTLS_LIBRARIES - The libraries needed to use gnutls
 #  GNUTLS_DEFINITIONS - Compiler switches required for using gnutls
 #  GNUTLS_DEFINITIONS - Compiler switches required for using gnutls
 
 
-# Adapted from FindXml2.cmake, which is:
-#   Copyright (c) 2006, Alexander Neundorf, <[email protected]>
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2009 Philip Lowman <[email protected]>
+# Copyright 2009 Brad Hards <[email protected]>
+# Copyright 2006 Alexander Neundorf <[email protected]>
 #
 #
-# Changes are Copyright 2009, Brad Hards, <[email protected]>
-#             Copyright 2009, Philip Lowman, <[email protected]>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
 #
 #
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Note that this doesn't try to find the gnutls-extra package.
 # Note that this doesn't try to find the gnutls-extra package.
 
 
 
 

+ 13 - 0
Modules/FindGnuplot.cmake

@@ -5,6 +5,19 @@
 #  GNUPLOT_FOUND - system has Gnuplot
 #  GNUPLOT_FOUND - system has Gnuplot
 #  GNUPLOT_EXECUTABLE - the Gnuplot executable
 #  GNUPLOT_EXECUTABLE - the Gnuplot executable
 
 
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 INCLUDE(FindCygwin)
 INCLUDE(FindCygwin)
 
 
 FIND_PROGRAM(GNUPLOT_EXECUTABLE
 FIND_PROGRAM(GNUPLOT_EXECUTABLE

+ 13 - 0
Modules/FindHDF5.cmake

@@ -40,6 +40,19 @@
 #  HDF5_CXX_COMPILER_EXECUTABLE - the path to the HDF5 C++ wrapper compiler
 #  HDF5_CXX_COMPILER_EXECUTABLE - the path to the HDF5 C++ wrapper compiler
 #  HDF5_DIFF_EXECUTABLE - the path to the HDF5 dataset comparison tool
 #  HDF5_DIFF_EXECUTABLE - the path to the HDF5 dataset comparison tool
 
 
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # This module is maintained by Will Dicharry <[email protected]>.
 # This module is maintained by Will Dicharry <[email protected]>.
 
 
 include(SelectLibraryConfigurations)
 include(SelectLibraryConfigurations)

+ 12 - 4
Modules/FindHSPELL.cmake

@@ -6,11 +6,19 @@
 #  HSPELL_LIBRARIES - The libraries needed to use HSPELL
 #  HSPELL_LIBRARIES - The libraries needed to use HSPELL
 #  HSPELL_DEFINITIONS - Compiler switches required for using HSPELL
 #  HSPELL_DEFINITIONS - Compiler switches required for using HSPELL
 
 
-# Copyright (c) 2006, Alexander Neundorf, <[email protected]>
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 IF (HSPELL_INCLUDE_DIR AND HSPELL_LIBRARIES)
 IF (HSPELL_INCLUDE_DIR AND HSPELL_LIBRARIES)
   # Already in cache, be silent
   # Already in cache, be silent

+ 13 - 0
Modules/FindHTMLHelp.cmake

@@ -5,6 +5,19 @@
 #   HTML_HELP_LIBRARY      : full path to the library (htmlhelp.lib)
 #   HTML_HELP_LIBRARY      : full path to the library (htmlhelp.lib)
 #
 #
 
 
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF(WIN32)
 IF(WIN32)
 
 
   FIND_PROGRAM(HTML_HELP_COMPILER
   FIND_PROGRAM(HTML_HELP_COMPILER

+ 12 - 0
Modules/FindITK.cmake

@@ -20,6 +20,18 @@
 #                 compatability.  Use ITK_USE_FILE
 #                 compatability.  Use ITK_USE_FILE
 #                 instead.
 #                 instead.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 SET(ITK_DIR_STRING "directory containing ITKConfig.cmake.  This is either the root of the build tree, or PREFIX/lib/InsightToolkit for an installation.")
 SET(ITK_DIR_STRING "directory containing ITKConfig.cmake.  This is either the root of the build tree, or PREFIX/lib/InsightToolkit for an installation.")
 
 

+ 12 - 4
Modules/FindImageMagick.cmake

@@ -50,11 +50,19 @@
 # Note that the standard FIND_PACKAGE features are supported
 # Note that the standard FIND_PACKAGE features are supported
 # (i.e., QUIET, REQUIRED, etc.).
 # (i.e., QUIET, REQUIRED, etc.).
 
 
-# Copyright (c) 2007-2008,
-#  Miguel A. Figueroa-Villanueva, miguelf at ieee dot org.
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+# Copyright 2007-2008 Miguel A. Figueroa-Villanueva <miguelf at ieee dot org>
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 #---------------------------------------------------------------------
 #---------------------------------------------------------------------
 # Helper functions
 # Helper functions

+ 13 - 0
Modules/FindJNI.cmake

@@ -12,6 +12,19 @@
 #  JAVA_AWT_INCLUDE_PATH = the include path to jawt.h
 #  JAVA_AWT_INCLUDE_PATH = the include path to jawt.h
 #
 #
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 GET_FILENAME_COMPONENT(java_install_version
 GET_FILENAME_COMPONENT(java_install_version
   "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit;CurrentVersion]" NAME)
   "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit;CurrentVersion]" NAME)
 
 

+ 13 - 0
Modules/FindJPEG.cmake

@@ -7,6 +7,19 @@
 # also defined, but not for general use are
 # also defined, but not for general use are
 #  JPEG_LIBRARY, where to find the JPEG library.
 #  JPEG_LIBRARY, where to find the JPEG library.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(JPEG_INCLUDE_DIR jpeglib.h)
 FIND_PATH(JPEG_INCLUDE_DIR jpeglib.h)
 
 
 SET(JPEG_NAMES ${JPEG_NAMES} jpeg)
 SET(JPEG_NAMES ${JPEG_NAMES} jpeg)

+ 12 - 4
Modules/FindJasper.cmake

@@ -5,11 +5,19 @@
 #  JASPER_INCLUDE_DIR - the Jasper include directory
 #  JASPER_INCLUDE_DIR - the Jasper include directory
 #  JASPER_LIBRARIES - The libraries needed to use Jasper
 #  JASPER_LIBRARIES - The libraries needed to use Jasper
 
 
-# Copyright (c) 2006, Alexander Neundorf, <[email protected]>
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 FIND_PACKAGE(JPEG)
 FIND_PACKAGE(JPEG)
 
 

+ 14 - 0
Modules/FindJava.cmake

@@ -7,6 +7,20 @@
 #  JAVA_COMPILE    = the full path to the Java compiler
 #  JAVA_COMPILE    = the full path to the Java compiler
 #  JAVA_ARCHIVE    = the full path to the Java archiver
 #  JAVA_ARCHIVE    = the full path to the Java archiver
 #
 #
+
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 SET(JAVA_BIN_PATH
 SET(JAVA_BIN_PATH
     "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\2.0;JavaHome]/bin"
     "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\2.0;JavaHome]/bin"
     "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.9;JavaHome]/bin"
     "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.9;JavaHome]/bin"

+ 14 - 0
Modules/FindKDE3.cmake

@@ -63,6 +63,20 @@
 #
 #
 # Author: Alexander Neundorf <[email protected]>
 # Author: Alexander Neundorf <[email protected]>
 
 
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF(NOT UNIX AND KDE3_FIND_REQUIRED)
 IF(NOT UNIX AND KDE3_FIND_REQUIRED)
    MESSAGE(FATAL_ERROR "Compiling KDE3 applications and libraries under Windows is not supported")
    MESSAGE(FATAL_ERROR "Compiling KDE3 applications and libraries under Windows is not supported")
 ENDIF(NOT UNIX AND KDE3_FIND_REQUIRED)
 ENDIF(NOT UNIX AND KDE3_FIND_REQUIRED)

+ 14 - 0
Modules/FindKDE4.cmake

@@ -9,6 +9,20 @@
 #
 #
 # Author: Alexander Neundorf <[email protected]>
 # Author: Alexander Neundorf <[email protected]>
 
 
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # If Qt3 has already been found, fail.
 # If Qt3 has already been found, fail.
 IF(QT_QT_LIBRARY)
 IF(QT_QT_LIBRARY)
   IF(KDE4_FIND_REQUIRED)
   IF(KDE4_FIND_REQUIRED)

+ 14 - 0
Modules/FindLAPACK.cmake

@@ -22,6 +22,20 @@
 #  BLA_F95     if set on tries to find the f95 interfaces for BLAS/LAPACK
 #  BLA_F95     if set on tries to find the f95 interfaces for BLAS/LAPACK
 ### List of vendors (BLA_VENDOR) valid in this module
 ### List of vendors (BLA_VENDOR) valid in this module
 ##  Intel(mkl), ACML,Apple, NAS, Generic
 ##  Intel(mkl), ACML,Apple, NAS, Generic
+
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 get_property(_LANGUAGES_ GLOBAL PROPERTY ENABLED_LANGUAGES)
 get_property(_LANGUAGES_ GLOBAL PROPERTY ENABLED_LANGUAGES)
 if(NOT _LANGUAGES_ MATCHES Fortran)
 if(NOT _LANGUAGES_ MATCHES Fortran)
   if(LAPACK_FIND_REQUIRED)
   if(LAPACK_FIND_REQUIRED)

+ 13 - 0
Modules/FindLATEX.cmake

@@ -11,6 +11,19 @@
 #  LATEX2HTML_CONVERTER: path to the LaTeX2Html converter 
 #  LATEX2HTML_CONVERTER: path to the LaTeX2Html converter 
 #
 #
 
 
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF (WIN32)
 IF (WIN32)
 
 
   # Try to find the MikTex binary path (look for its package manager).
   # Try to find the MikTex binary path (look for its package manager).

+ 12 - 4
Modules/FindLibXml2.cmake

@@ -7,11 +7,19 @@
 #  LIBXML2_DEFINITIONS - Compiler switches required for using LibXml2
 #  LIBXML2_DEFINITIONS - Compiler switches required for using LibXml2
 #  LIBXML2_XMLLINT_EXECUTABLE - The XML checking tool xmllint coming with LibXml2
 #  LIBXML2_XMLLINT_EXECUTABLE - The XML checking tool xmllint coming with LibXml2
 
 
-# Copyright (c) 2006, Alexander Neundorf, <[email protected]>
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 IF (LIBXML2_INCLUDE_DIR AND LIBXML2_LIBRARIES)
 IF (LIBXML2_INCLUDE_DIR AND LIBXML2_LIBRARIES)
    # in cache already
    # in cache already

+ 12 - 4
Modules/FindLibXslt.cmake

@@ -6,11 +6,19 @@
 #  LIBXSLT_LIBRARIES - Link these to LibXslt
 #  LIBXSLT_LIBRARIES - Link these to LibXslt
 #  LIBXSLT_DEFINITIONS - Compiler switches required for using LibXslt
 #  LIBXSLT_DEFINITIONS - Compiler switches required for using LibXslt
 
 
-# Copyright (c) 2006, Alexander Neundorf, <[email protected]>
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 IF (LIBXSLT_INCLUDE_DIR AND LIBXSLT_LIBRARIES)
 IF (LIBXSLT_INCLUDE_DIR AND LIBXSLT_LIBRARIES)
    # in cache already
    # in cache already

+ 12 - 0
Modules/FindLua50.cmake

@@ -11,6 +11,18 @@
 # This is because, the lua location is not standardized and may exist
 # This is because, the lua location is not standardized and may exist
 # in locations other than lua/
 # in locations other than lua/
 
 
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 FIND_PATH(LUA_INCLUDE_DIR lua.h
 FIND_PATH(LUA_INCLUDE_DIR lua.h
   HINTS
   HINTS

+ 12 - 0
Modules/FindLua51.cmake

@@ -11,6 +11,18 @@
 # This is because, the lua location is not standardized and may exist
 # This is because, the lua location is not standardized and may exist
 # in locations other than lua/
 # in locations other than lua/
 
 
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 FIND_PATH(LUA_INCLUDE_DIR lua.h
 FIND_PATH(LUA_INCLUDE_DIR lua.h
   HINTS
   HINTS

+ 13 - 0
Modules/FindMFC.cmake

@@ -4,6 +4,19 @@
 #  MFC_FOUND - Was MFC support found
 #  MFC_FOUND - Was MFC support found
 # You don't need to include anything or link anything to use it.
 # You don't need to include anything or link anything to use it.
 
 
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Assume no MFC support
 # Assume no MFC support
 SET(MFC_FOUND "NO")
 SET(MFC_FOUND "NO")
 
 

+ 13 - 0
Modules/FindMPEG.cmake

@@ -7,6 +7,19 @@
 #  MPEG_mpeg2_LIBRARY, where to find the MPEG library.
 #  MPEG_mpeg2_LIBRARY, where to find the MPEG library.
 #  MPEG_vo_LIBRARY, where to find the vo library.
 #  MPEG_vo_LIBRARY, where to find the vo library.
 
 
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(MPEG_INCLUDE_DIR mpeg2dec/include/video_out.h
 FIND_PATH(MPEG_INCLUDE_DIR mpeg2dec/include/video_out.h
   /usr/local/livid
   /usr/local/livid
 )
 )

+ 13 - 0
Modules/FindMPEG2.cmake

@@ -7,6 +7,19 @@
 #  MPEG2_mpeg2_LIBRARY, where to find the MPEG2 library.
 #  MPEG2_mpeg2_LIBRARY, where to find the MPEG2 library.
 #  MPEG2_vo_LIBRARY, where to find the vo library.
 #  MPEG2_vo_LIBRARY, where to find the vo library.
 
 
+#=============================================================================
+# Copyright 2003-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(MPEG2_INCLUDE_DIR 
 FIND_PATH(MPEG2_INCLUDE_DIR 
   NAMES mpeg2.h mpeg2dec/mpeg2.h
   NAMES mpeg2.h mpeg2dec/mpeg2.h
   PATHS /usr/local/livid
   PATHS /usr/local/livid

+ 13 - 0
Modules/FindMPI.cmake

@@ -52,6 +52,19 @@
 # EXECUTABLE is the MPI program, and ARGS are the arguments to pass to the 
 # EXECUTABLE is the MPI program, and ARGS are the arguments to pass to the 
 # MPI program.
 # MPI program.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Try to find the MPI driver program
 # Try to find the MPI driver program
 find_program(MPI_COMPILER 
 find_program(MPI_COMPILER 
   NAMES mpic++ mpicxx mpiCC mpicc
   NAMES mpic++ mpicxx mpiCC mpicc

+ 12 - 0
Modules/FindMatlab.cmake

@@ -6,6 +6,18 @@
 #  MATLAB_MX_LIBRARY:  path to libmx.lib
 #  MATLAB_MX_LIBRARY:  path to libmx.lib
 #  MATLAB_ENG_LIBRARY: path to libeng.lib
 #  MATLAB_ENG_LIBRARY: path to libeng.lib
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 SET(MATLAB_FOUND 0)
 SET(MATLAB_FOUND 0)
 IF(WIN32)
 IF(WIN32)

+ 13 - 0
Modules/FindMotif.cmake

@@ -4,6 +4,19 @@
 #  MOTIF_INCLUDE_DIR  - include paths to use Motif
 #  MOTIF_INCLUDE_DIR  - include paths to use Motif
 #  MOTIF_LIBRARIES    - Link these to use Motif
 #  MOTIF_LIBRARIES    - Link these to use Motif
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 SET(MOTIF_FOUND 0)
 SET(MOTIF_FOUND 0)
 
 
 IF(UNIX)
 IF(UNIX)

+ 13 - 0
Modules/FindOpenAL.cmake

@@ -10,6 +10,19 @@
 #
 #
 # Created by Eric Wing. This was influenced by the FindSDL.cmake module.
 # Created by Eric Wing. This was influenced by the FindSDL.cmake module.
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # This makes the presumption that you are include al.h like
 # This makes the presumption that you are include al.h like
 # #include "al.h"
 # #include "al.h"
 # and not 
 # and not 

+ 13 - 0
Modules/FindOpenGL.cmake

@@ -15,6 +15,19 @@
 # People will have to change the cache values of OPENGL_glu_LIBRARY 
 # People will have to change the cache values of OPENGL_glu_LIBRARY 
 # and OPENGL_gl_LIBRARY to use OpenGL with X11 on OSX
 # and OPENGL_gl_LIBRARY to use OpenGL with X11 on OSX
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF (WIN32)
 IF (WIN32)
   IF (CYGWIN)
   IF (CYGWIN)
 
 

+ 12 - 6
Modules/FindOpenMP.cmake

@@ -10,13 +10,19 @@
 #
 #
 # Supported compilers can be found at http://openmp.org/wp/openmp-compilers/
 # Supported compilers can be found at http://openmp.org/wp/openmp-compilers/
 
 
-
-# Copyright 2008, 2009 <André Rigland Brodtkorb> [email protected]
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2008-2009 André Rigland Brodtkorb <[email protected]>
 #
 #
-# Redistribution AND use is allowed according to the terms of the New 
-# BSD license. 
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 include(CheckCSourceCompiles)
 include(CheckCSourceCompiles)
 include(CheckCXXSourceCompiles)
 include(CheckCXXSourceCompiles)

+ 12 - 4
Modules/FindOpenSSL.cmake

@@ -5,11 +5,19 @@
 #  OPENSSL_INCLUDE_DIR - the OpenSSL include directory
 #  OPENSSL_INCLUDE_DIR - the OpenSSL include directory
 #  OPENSSL_LIBRARIES - The libraries needed to use OpenSSL
 #  OPENSSL_LIBRARIES - The libraries needed to use OpenSSL
 
 
-# Copyright (c) 2006, Alexander Neundorf, <[email protected]>
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <[email protected]>
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 IF(OPENSSL_LIBRARIES)
 IF(OPENSSL_LIBRARIES)
    SET(OpenSSL_FIND_QUIETLY TRUE)
    SET(OpenSSL_FIND_QUIETLY TRUE)

+ 14 - 7
Modules/FindOpenSceneGraph.cmake

@@ -47,19 +47,26 @@
 #  target_link_libraries(foo ${OPENSCENEGRAPH_LIBRARIES})
 #  target_link_libraries(foo ${OPENSCENEGRAPH_LIBRARIES})
 #
 #
 
 
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2009 Philip Lowman <[email protected]>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 #
 #
 # Naming convention:
 # Naming convention:
 #  Local variables of the form _osg_foo
 #  Local variables of the form _osg_foo
 #  Input variables of the form OpenSceneGraph_FOO
 #  Input variables of the form OpenSceneGraph_FOO
 #  Output variables of the form OPENSCENEGRAPH_FOO
 #  Output variables of the form OPENSCENEGRAPH_FOO
 #
 #
-# Copyright (c) 2009, Philip Lowman <[email protected]>
-#
-# Redistribution AND use is allowed according to the terms of the New
-# BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-#
-#==================================
 
 
 include(Findosg_functions)
 include(Findosg_functions)
 
 

+ 13 - 0
Modules/FindOpenThreads.cmake

@@ -17,6 +17,19 @@
 #
 #
 # Created by Eric Wing.
 # Created by Eric Wing.
 
 
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Header files are presumed to be included like
 # Header files are presumed to be included like
 # #include <OpenThreads/Thread>
 # #include <OpenThreads/Thread>
 
 

+ 13 - 0
Modules/FindPHP4.cmake

@@ -7,6 +7,19 @@
 #  PHP4_EXECUTABLE         = full path to the php4 binary
 #  PHP4_EXECUTABLE         = full path to the php4 binary
 #
 #
 
 
+#=============================================================================
+# Copyright 2004-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 SET(PHP4_POSSIBLE_INCLUDE_PATHS
 SET(PHP4_POSSIBLE_INCLUDE_PATHS
   /usr/include/php4
   /usr/include/php4
   /usr/local/include/php4
   /usr/local/include/php4

+ 12 - 0
Modules/FindPNG.cmake

@@ -10,6 +10,18 @@
 # None of the above will be defined unles zlib can be found.
 # None of the above will be defined unles zlib can be found.
 # PNG depends on Zlib
 # PNG depends on Zlib
 
 
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 if(PNG_FIND_QUIETLY)
 if(PNG_FIND_QUIETLY)
   set(_FIND_ZLIB_ARG QUIET)
   set(_FIND_ZLIB_ARG QUIET)

+ 13 - 0
Modules/FindPackageHandleStandardArgs.cmake

@@ -17,6 +17,19 @@
 #    be "Could NOT find LibXml2", if you don't like this message you can specify
 #    be "Could NOT find LibXml2", if you don't like this message you can specify
 #    your own custom failure message there.
 #    your own custom failure message there.
 
 
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 INCLUDE(FindPackageMessage)
 INCLUDE(FindPackageMessage)
 FUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FAIL_MSG _VAR1 )
 FUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FAIL_MSG _VAR1 )
 
 

+ 13 - 0
Modules/FindPackageMessage.cmake

@@ -18,6 +18,19 @@
 #   ...
 #   ...
 #  ENDIF(X11_FOUND)
 #  ENDIF(X11_FOUND)
 
 
+#=============================================================================
+# Copyright 2008-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FUNCTION(FIND_PACKAGE_MESSAGE pkg msg details)
 FUNCTION(FIND_PACKAGE_MESSAGE pkg msg details)
   # Avoid printing a message repeatedly for the same find result.
   # Avoid printing a message repeatedly for the same find result.
   IF(NOT ${pkg}_FIND_QUIETLY)
   IF(NOT ${pkg}_FIND_QUIETLY)

+ 13 - 0
Modules/FindPerl.cmake

@@ -4,6 +4,19 @@
 #  PERL_EXECUTABLE - the full path to perl
 #  PERL_EXECUTABLE - the full path to perl
 #  PERL_FOUND      - If false, don't attempt to use perl.
 #  PERL_FOUND      - If false, don't attempt to use perl.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 INCLUDE(FindCygwin)
 INCLUDE(FindCygwin)
 
 
 SET(PERL_POSSIBLE_BIN_PATHS
 SET(PERL_POSSIBLE_BIN_PATHS

+ 13 - 0
Modules/FindPerlLibs.cmake

@@ -20,6 +20,19 @@
 #  PERL_EXTRA_C_FLAGS = Compilation flags used to build perl
 #  PERL_EXTRA_C_FLAGS = Compilation flags used to build perl
 #
 #
 
 
+#=============================================================================
+# Copyright 2004-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # find the perl executable
 # find the perl executable
 include(FindPerl)
 include(FindPerl)
 
 

+ 13 - 0
Modules/FindPhysFS.cmake

@@ -10,6 +10,19 @@
 #
 #
 # Created by Eric Wing. 
 # Created by Eric Wing. 
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(PHYSFS_INCLUDE_DIR physfs.h
 FIND_PATH(PHYSFS_INCLUDE_DIR physfs.h
   HINTS
   HINTS
   $ENV{PHYSFSDIR}
   $ENV{PHYSFSDIR}

+ 13 - 0
Modules/FindPike.cmake

@@ -7,6 +7,19 @@
 #  PIKE_EXECUTABLE         = full path to the pike binary
 #  PIKE_EXECUTABLE         = full path to the pike binary
 #
 #
 
 
+#=============================================================================
+# Copyright 2004-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FILE(GLOB PIKE_POSSIBLE_INCLUDE_PATHS
 FILE(GLOB PIKE_POSSIBLE_INCLUDE_PATHS
   /usr/include/pike/*
   /usr/include/pike/*
   /usr/local/include/pike/*)
   /usr/local/include/pike/*)

+ 12 - 0
Modules/FindPkgConfig.cmake

@@ -67,6 +67,18 @@
 #
 #
 #   pkg_search_module (BAR     libxml-2.0 libxml2 libxml>=2)
 #   pkg_search_module (BAR     libxml-2.0 libxml2 libxml>=2)
 
 
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 # Copyright (C) 2006 Enrico Scholz <[email protected]>
 # Copyright (C) 2006 Enrico Scholz <[email protected]>
 #
 #

+ 13 - 0
Modules/FindProducer.cmake

@@ -25,6 +25,19 @@
 #
 #
 # Created by Eric Wing.
 # Created by Eric Wing.
 
 
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # Header files are presumed to be included like
 # Header files are presumed to be included like
 # #include <Producer/CameraGroup>
 # #include <Producer/CameraGroup>
 
 

+ 14 - 4
Modules/FindProtobuf.cmake

@@ -35,11 +35,21 @@
 #
 #
 #====================================================================
 #====================================================================
 
 
-# Esben Mose Hansen <[EMAIL PROTECTED]>, (c) Ange Optimization ApS 2008
-# Adapted by Philip Lowman <[email protected]> (c) 2009
+
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+# Copyright 2009 Philip Lowman <[email protected]>
+# Copyright 2008 Esben Mose Hansen, Ange Optimization ApS
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
 #
 #
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 function(PROTOBUF_GENERATE_CPP SRCS HDRS)
 function(PROTOBUF_GENERATE_CPP SRCS HDRS)
   if(NOT ARGN)
   if(NOT ARGN)

+ 13 - 0
Modules/FindPythonInterp.cmake

@@ -6,6 +6,19 @@
 #  PYTHON_EXECUTABLE  - path to the Python interpreter
 #  PYTHON_EXECUTABLE  - path to the Python interpreter
 #
 #
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PROGRAM(PYTHON_EXECUTABLE
 FIND_PROGRAM(PYTHON_EXECUTABLE
   NAMES python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
   NAMES python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
   PATHS
   PATHS

+ 13 - 0
Modules/FindPythonLibs.cmake

@@ -10,6 +10,19 @@
 #  PYTHON_DEBUG_LIBRARIES - path to the debug library
 #  PYTHON_DEBUG_LIBRARIES - path to the debug library
 #
 #
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 INCLUDE(CMakeFindFrameworks)
 INCLUDE(CMakeFindFrameworks)
 # Search for the python framework on Apple.
 # Search for the python framework on Apple.
 CMAKE_FIND_FRAMEWORKS(Python)
 CMAKE_FIND_FRAMEWORKS(Python)

+ 12 - 0
Modules/FindQt.cmake

@@ -17,6 +17,18 @@
 #  QT4_INSTALLED is set to TRUE if qt4 is found.
 #  QT4_INSTALLED is set to TRUE if qt4 is found.
 #  QT3_INSTALLED is set to TRUE if qt3 is found.
 #  QT3_INSTALLED is set to TRUE if qt3 is found.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 # look for signs of qt3 installations
 # look for signs of qt3 installations
 FILE(GLOB GLOB_TEMP_VAR /usr/lib/qt-3*/bin/qmake)
 FILE(GLOB GLOB_TEMP_VAR /usr/lib/qt-3*/bin/qmake)

+ 13 - 0
Modules/FindQt3.cmake

@@ -20,6 +20,19 @@
 #  QT_WRAP_CPP, set true if QT_MOC_EXECUTABLE is found
 #  QT_WRAP_CPP, set true if QT_MOC_EXECUTABLE is found
 #  QT_WRAP_UI set true if QT_UIC_EXECUTABLE is found
 #  QT_WRAP_UI set true if QT_UIC_EXECUTABLE is found
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # If Qt4 has already been found, fail.
 # If Qt4 has already been found, fail.
 IF(QT4_FOUND)
 IF(QT4_FOUND)
   IF(Qt3_FIND_REQUIRED)
   IF(Qt3_FIND_REQUIRED)

+ 12 - 0
Modules/FindQt4.cmake

@@ -270,6 +270,18 @@
 # (They make no sense in Qt4)
 # (They make no sense in Qt4)
 #  QT_QT_LIBRARY        Qt-Library is now split
 #  QT_QT_LIBRARY        Qt-Library is now split
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 # Use FIND_PACKAGE( Qt4 COMPONENTS ... ) to enable modules
 # Use FIND_PACKAGE( Qt4 COMPONENTS ... ) to enable modules
 IF( Qt4_FIND_COMPONENTS )
 IF( Qt4_FIND_COMPONENTS )

+ 13 - 0
Modules/FindQuickTime.cmake

@@ -9,6 +9,19 @@
 #
 #
 # Created by Eric Wing. 
 # Created by Eric Wing. 
 
 
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 # QuickTime on OS X looks different than QuickTime for Windows,
 # QuickTime on OS X looks different than QuickTime for Windows,
 # so I am going to case the two.
 # so I am going to case the two.
 
 

+ 14 - 0
Modules/FindRTI.cmake

@@ -15,6 +15,20 @@
 #
 #
 # Report problems to <[email protected]>
 # Report problems to <[email protected]>
 
 
+#=============================================================================
+# Copyright 2008-2009 Kitware, Inc.
+# Copyright 2008 Petr Gotthard <[email protected]>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 MACRO(RTI_MESSAGE_QUIETLY QUIET TYPE MSG)
 MACRO(RTI_MESSAGE_QUIETLY QUIET TYPE MSG)
   IF(NOT ${QUIET})
   IF(NOT ${QUIET})
     MESSAGE(${TYPE} "${MSG}")
     MESSAGE(${TYPE} "${MSG}")

+ 13 - 3
Modules/FindRuby.cmake

@@ -13,9 +13,19 @@
 #
 #
 #  RUBY_INCLUDE_PATH = same as RUBY_INCLUDE_DIRS, only provided for compatibility reasons, don't use it
 #  RUBY_INCLUDE_PATH = same as RUBY_INCLUDE_DIRS, only provided for compatibility reasons, don't use it
 
 
-# Copyright (c) 2002 Kitware, Inc., Insight Consortium.  All rights reserved.
-# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
-
+#=============================================================================
+# Copyright 2004-2009 Kitware, Inc.
+# Copyright 2008-2009 Alexander Neundorf <[email protected]>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 #   RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
 #   RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
 #   RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`
 #   RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`

+ 13 - 0
Modules/FindSDL.cmake

@@ -52,6 +52,19 @@
 # is #include "SDL.h", not <SDL/SDL.h>. This is done for portability
 # is #include "SDL.h", not <SDL/SDL.h>. This is done for portability
 # reasons because not all systems place things in SDL/ (see FreeBSD).
 # reasons because not all systems place things in SDL/ (see FreeBSD).
 
 
+#=============================================================================
+# Copyright 2003-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(SDL_INCLUDE_DIR SDL.h
 FIND_PATH(SDL_INCLUDE_DIR SDL.h
   HINTS
   HINTS
   $ENV{SDLDIR}
   $ENV{SDLDIR}

+ 13 - 0
Modules/FindSDL_image.cmake

@@ -12,6 +12,19 @@
 # module, but with modifications to recognize OS X frameworks and 
 # module, but with modifications to recognize OS X frameworks and 
 # additional Unix paths (FreeBSD, etc).
 # additional Unix paths (FreeBSD, etc).
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(SDLIMAGE_INCLUDE_DIR SDL_image.h
 FIND_PATH(SDLIMAGE_INCLUDE_DIR SDL_image.h
   HINTS
   HINTS
   $ENV{SDLIMAGEDIR}
   $ENV{SDLIMAGEDIR}

+ 13 - 0
Modules/FindSDL_mixer.cmake

@@ -12,6 +12,19 @@
 # module, but with modifications to recognize OS X frameworks and 
 # module, but with modifications to recognize OS X frameworks and 
 # additional Unix paths (FreeBSD, etc).
 # additional Unix paths (FreeBSD, etc).
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(SDLMIXER_INCLUDE_DIR SDL_mixer.h
 FIND_PATH(SDLMIXER_INCLUDE_DIR SDL_mixer.h
   HINTS
   HINTS
   $ENV{SDLMIXERDIR}
   $ENV{SDLMIXERDIR}

+ 12 - 0
Modules/FindSDL_net.cmake

@@ -12,6 +12,18 @@
 # module, but with modifications to recognize OS X frameworks and 
 # module, but with modifications to recognize OS X frameworks and 
 # additional Unix paths (FreeBSD, etc).
 # additional Unix paths (FreeBSD, etc).
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 FIND_PATH(SDLNET_INCLUDE_DIR SDL_net.h
 FIND_PATH(SDLNET_INCLUDE_DIR SDL_net.h
   HINTS
   HINTS

+ 12 - 0
Modules/FindSDL_sound.cmake

@@ -56,6 +56,18 @@
 # CMAKE_INCLUDE_PATH to modify the search paths.
 # CMAKE_INCLUDE_PATH to modify the search paths.
 #
 #
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 SET(SDL_SOUND_EXTRAS "" CACHE STRING "SDL_sound extra flags")
 SET(SDL_SOUND_EXTRAS "" CACHE STRING "SDL_sound extra flags")
 MARK_AS_ADVANCED(SDL_SOUND_EXTRAS)
 MARK_AS_ADVANCED(SDL_SOUND_EXTRAS)

+ 13 - 0
Modules/FindSDL_ttf.cmake

@@ -12,6 +12,19 @@
 # module, but with modifications to recognize OS X frameworks and 
 # module, but with modifications to recognize OS X frameworks and 
 # additional Unix paths (FreeBSD, etc).
 # additional Unix paths (FreeBSD, etc).
 
 
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(SDLTTF_INCLUDE_DIR SDL_ttf.h
 FIND_PATH(SDLTTF_INCLUDE_DIR SDL_ttf.h
   HINTS
   HINTS
   $ENV{SDLTTFDIR}
   $ENV{SDLTTFDIR}

+ 13 - 0
Modules/FindSWIG.cmake

@@ -10,6 +10,19 @@
 # means of setting SWIG_EXECUTABLE
 # means of setting SWIG_EXECUTABLE
 #
 #
 
 
+#=============================================================================
+# Copyright 2004-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 SET(SWIG_FOUND FALSE)
 SET(SWIG_FOUND FALSE)
 
 
 FIND_PROGRAM(SWIG_EXECUTABLE swig)
 FIND_PROGRAM(SWIG_EXECUTABLE swig)

+ 13 - 0
Modules/FindSelfPackers.cmake

@@ -5,6 +5,19 @@
 # Examples:
 # Examples:
 #  UPX: http://wildsau.idv.uni-linz.ac.at/mfx/upx.html
 #  UPX: http://wildsau.idv.uni-linz.ac.at/mfx/upx.html
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 INCLUDE(FindCygwin)
 INCLUDE(FindCygwin)
 
 
 FIND_PROGRAM(SELF_PACKER_FOR_EXECUTABLE
 FIND_PROGRAM(SELF_PACKER_FOR_EXECUTABLE

+ 13 - 0
Modules/FindSquish.cmake

@@ -26,6 +26,19 @@
 # ENDIF (SQUISH_FOUND)
 # ENDIF (SQUISH_FOUND)
 #
 #
 
 
+#=============================================================================
+# Copyright 2008-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 SET(SQUISH_INSTALL_DIR_STRING "Directory containing the bin, doc, and lib directories for Squish; this should be the root of the installation directory.")
 SET(SQUISH_INSTALL_DIR_STRING "Directory containing the bin, doc, and lib directories for Squish; this should be the root of the installation directory.")
 SET(SQUISH_SERVER_EXECUTABLE_STRING "The squishserver executable program.")
 SET(SQUISH_SERVER_EXECUTABLE_STRING "The squishserver executable program.")
 SET(SQUISH_CLIENT_EXECUTABLE_STRING "The squishclient executable program.")
 SET(SQUISH_CLIENT_EXECUTABLE_STRING "The squishclient executable program.")

+ 11 - 24
Modules/FindSubversion.cmake

@@ -24,32 +24,19 @@
 #    MESSAGE("Last changed log is ${Project_LAST_CHANGED_LOG}")
 #    MESSAGE("Last changed log is ${Project_LAST_CHANGED_LOG}")
 #  ENDIF(Subversion_FOUND)
 #  ENDIF(Subversion_FOUND)
 
 
-# Copyright (c) 2006, Tristan Carel
-# All rights reserved.
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
+#=============================================================================
+# Copyright 2006-2009 Kitware, Inc.
+# Copyright 2006 Tristan Carel
 #
 #
-#     * Redistributions of source code must retain the above copyright
-#       notice, this list of conditions and the following disclaimer.
-#     * Redistributions in binary form must reproduce the above copyright
-#       notice, this list of conditions and the following disclaimer in the
-#       documentation and/or other materials provided with the distribution.
-#     * Neither the name of the University of California, Berkeley nor the
-#       names of its contributors may be used to endorse or promote products
-#       derived from this software without specific prior written permission.
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
 #
 #
-# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# $Id$
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
 
 
 SET(Subversion_FOUND FALSE)
 SET(Subversion_FOUND FALSE)
 SET(Subversion_SVN_FOUND FALSE)
 SET(Subversion_SVN_FOUND FALSE)

+ 13 - 0
Modules/FindTCL.cmake

@@ -31,6 +31,19 @@
 #      this point it is safer you ask directly where the *source* tree is
 #      this point it is safer you ask directly where the *source* tree is
 #      and dig from there.
 #      and dig from there.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 INCLUDE(CMakeFindFrameworks)
 INCLUDE(CMakeFindFrameworks)
 INCLUDE(FindTclsh)
 INCLUDE(FindTclsh)
 INCLUDE(FindWish)
 INCLUDE(FindWish)

+ 13 - 0
Modules/FindTIFF.cmake

@@ -7,6 +7,19 @@
 # also defined, but not for general use are
 # also defined, but not for general use are
 #  TIFF_LIBRARY, where to find the TIFF library.
 #  TIFF_LIBRARY, where to find the TIFF library.
 
 
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 FIND_PATH(TIFF_INCLUDE_DIR tiff.h)
 FIND_PATH(TIFF_INCLUDE_DIR tiff.h)
 
 
 SET(TIFF_NAMES ${TIFF_NAMES} tiff libtiff libtiff3)
 SET(TIFF_NAMES ${TIFF_NAMES} tiff libtiff libtiff3)

+ 13 - 0
Modules/FindTclStub.cmake

@@ -21,6 +21,19 @@
 #      Let's leave that choice to the user by allowing him to assign 
 #      Let's leave that choice to the user by allowing him to assign 
 #      TCL_STUB_LIBRARY to any Tcl library, debug or not.
 #      TCL_STUB_LIBRARY to any Tcl library, debug or not.
 
 
+#=============================================================================
+# Copyright 2008-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 INCLUDE(FindTCL)
 INCLUDE(FindTCL)
 
 
 GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
 GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)

+ 13 - 0
Modules/FindTclsh.cmake

@@ -7,6 +7,19 @@
 # In cygwin, look for the cygwin version first.  Don't look for it later to
 # In cygwin, look for the cygwin version first.  Don't look for it later to
 # avoid finding the cygwin version on a Win32 build.
 # avoid finding the cygwin version on a Win32 build.
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 IF(WIN32 AND UNIX)
 IF(WIN32 AND UNIX)
   FIND_PROGRAM(TCL_TCLSH NAMES cygtclsh83 cygtclsh80)
   FIND_PROGRAM(TCL_TCLSH NAMES cygtclsh83 cygtclsh80)
 ENDIF(WIN32 AND UNIX)
 ENDIF(WIN32 AND UNIX)

+ 13 - 0
Modules/FindThreads.cmake

@@ -6,6 +6,19 @@
 #  CMAKE_USE_PTHREADS_INIT    - are we using pthreads
 #  CMAKE_USE_PTHREADS_INIT    - are we using pthreads
 #  CMAKE_HP_PTHREADS_INIT     - are we using hp pthreads
 #  CMAKE_HP_PTHREADS_INIT     - are we using hp pthreads
 
 
+#=============================================================================
+# Copyright 2002-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 INCLUDE (CheckIncludeFiles)
 INCLUDE (CheckIncludeFiles)
 INCLUDE (CheckLibraryExists)
 INCLUDE (CheckLibraryExists)
 SET(Threads_FOUND FALSE)
 SET(Threads_FOUND FALSE)

+ 13 - 0
Modules/FindUnixCommands.cmake

@@ -2,6 +2,19 @@
 # This module looks for some usual Unix commands.
 # This module looks for some usual Unix commands.
 #
 #
 
 
+#=============================================================================
+# Copyright 2001-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
 INCLUDE(FindCygwin)
 INCLUDE(FindCygwin)
 
 
 FIND_PROGRAM(BASH
 FIND_PROGRAM(BASH

部分文件因为文件数量过多而无法显示