From 3207ffbf37c41f39ea5758195ecbb721f761bb18 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 17 Sep 2007 06:16:57 +0000 Subject: [PATCH] Move to kdelibs svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=713341 --- cmake/modules/FindSane.cmake | 42 ------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 cmake/modules/FindSane.cmake diff --git a/cmake/modules/FindSane.cmake b/cmake/modules/FindSane.cmake deleted file mode 100644 index 5827f9659..000000000 --- a/cmake/modules/FindSane.cmake +++ /dev/null @@ -1,42 +0,0 @@ -# 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 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 AND SANE_LIBRARY) - # Already in cache, be silent - set(Sane_FIND_QUIETLY TRUE) -endif (SANE_INCLUDE_DIR AND SANE_LIBRARY) - -FIND_PATH(SANE_INCLUDE_DIR sane/sane.h) - -FIND_LIBRARY(SANE_LIBRARY NAMES sane libsane - PATHS - /usr/lib/sane - /usr/local/lib/sane -) - -if (SANE_INCLUDE_DIR AND SANE_LIBRARY) - set(SANE_FOUND TRUE) - set(SANE_LIBRARIES ${SANE_LIBRARY}) -else (SANE_INCLUDE_DIR AND SANE_LIBRARY) - set(SANE_FOUND FALSE) -endif (SANE_INCLUDE_DIR AND SANE_LIBRARY) - -if (SANE_FOUND) - if (NOT Sane_FIND_QUIETLY) - message(STATUS "Found sane: ${SANE_LIBRARIES}") - endif (NOT Sane_FIND_QUIETLY) -else (SANE_FOUND) - if (Sane_FIND_REQUIRED) - message(FATAL_ERROR "Did not find SANE") - endif (Sane_FIND_REQUIRED) -endif (SANE_FOUND) - -MARK_AS_ADVANCED(SANE_INCLUDE_DIR SANE_LIBRARIES SANE_LIBRARY)