-add copyright notices

-remove unused configure checks

Alex


svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=582616
remotes/origin/KDE/4.0
Alexander Neundorf 20 years ago
parent f311b04ed3
commit 5212b6c691
  1. 22
      cmake/modules/COPYING-CMAKE-SCRIPTS
  2. 5
      cmake/modules/FindFreeType2.cmake
  3. 8
      cmake/modules/FindGphoto2.cmake
  4. 5
      cmake/modules/FindIMLIB.cmake
  5. 5
      cmake/modules/FindKadmos.cmake
  6. 9
      cmake/modules/FindPOPPLER.cmake
  7. 7
      cmake/modules/FindPopplerQt4.cmake
  8. 6
      cmake/modules/FindSane.cmake

@ -0,0 +1,22 @@
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.

@ -5,7 +5,12 @@
# FreeType2_LIBRARIES - Link these to use FreeType2
#
# TODO: This script should use the program
# Copyright (c) 2006, Stefan Kebekus, <kebekus@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
IF(UNIX)
FIND_PATH(FreeType2_INCLUDE_DIR

@ -1,9 +1,13 @@
# cmake macro to test if we use gphoto2
# GPHOTO2_FOUND - system has the GPHOTO2 library
# GPHOTO2_INCLUDE_DIR - the GPHOTO2 include directory
# GPHOTO2_LIBRARIES - The libraries needed to use GPHOTO2
# Laurent Montel <montel@kde.org> 2006
# cmake macro to test if we use gphoto2
# Copyright (c) 2006, Laurent Montel, <montel@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
option(KDE4_GPHOTO2 "do not build kamera (gphoto2 required)")
if (KDE4_GPHOTO2 )

@ -5,7 +5,12 @@
# IMLIB_INCLUDE_DIR - the IMLIB include directory
# IMLIB_LIBRARIES - Link these to use IMLIB
# IMLIB_DEFINITIONS - Compiler switches required for using IMLIB
# Copyright (c) 2006, Dirk Mueller, <mueller@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
IF (DEFINED CACHED_IMLIB)

@ -3,6 +3,11 @@
# KADMOS_INCLUDE_DIR - the KADMOS include directory
# KADMOS_LIBRARIES - The libraries needed to use KADMOS
# Copyright (c) 2006, Laurent Montel, <montel@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if (KADMOS_INCLUDE_DIR)
# Already in cache, be silent
set(KADMOS_FIND_QUIETLY TRUE)

@ -0,0 +1,9 @@
# cmake macro to test if we use poppler
# Copyright (c) 2006, Laurent Montel, <montel@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
option(KDE4_POPPLER "Enable PDF support through poppler ")

@ -9,6 +9,13 @@
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
# Copyright (c) 2006, Wilfried Huss, <wilfried.huss@gmx.at>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
INCLUDE(UsePkgConfig)
PKGCONFIG(poppler-qt4 _PopplerQt4IncDir _PopplerQt4LinkDir _PopplerQt4LinkFlags _PopplerQt4Cflags)

@ -1,10 +1,14 @@
# Marcus Hufgard <Hufgardm@hufgard.de> 2006
# cmake macro to test if we use sane
#
# SANE_FOUND - system has SANE libs
# SANE_INCLUDE_DIR - the SANE include directory
# SANE_LIBRARIES - The libraries needed to use SANE
# Copyright (c) 2006, Marcus Hufgard <hufgardm@hufgard.de> 2006
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if (SANE_INCLUDE_DIR)
# Already in cache, be silent
set(SANE_FIND_QUIETLY TRUE)

Loading…
Cancel
Save