Warning, /frameworks/kdelibs4support/cmake/modules/FindSane.cmake is written in an unsupported language. File is not indexed.
0001 # cmake macro to test if we use sane 0002 # 0003 # SANE_FOUND - system has SANE libs 0004 # SANE_INCLUDE_DIR - the SANE include directory 0005 # SANE_LIBRARIES - The libraries needed to use SANE 0006 0007 # Copyright (c) 2006, Marcus Hufgard <hufgardm@hufgard.de> 2006 0008 # 0009 # Redistribution and use is allowed according to the terms of the BSD license. 0010 # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 0011 0012 FIND_PATH(SANE_INCLUDE_DIR sane/sane.h) 0013 0014 FIND_LIBRARY(SANE_LIBRARY NAMES sane libsane 0015 PATH_SUFFIXES sane 0016 ) 0017 0018 INCLUDE(FindPackageHandleStandardArgs) 0019 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Sane DEFAULT_MSG SANE_LIBRARY SANE_INCLUDE_DIR ) 0020 0021 MARK_AS_ADVANCED(SANE_INCLUDE_DIR SANE_LIBRARY)