Warning, /frameworks/kdelibs4support/cmake/modules/FindLinuxWirelesstools.cmake is written in an unsupported language. File is not indexed.

0001 # - Try to find wireless extensions support libraries
0002 # Once done this will define
0003 #
0004 #  IW_FOUND - system has IW
0005 #  IW_INCLUDE_DIR - the IW include directory
0006 #  IW_LIBRARIES - Link to these to use IW
0007 
0008 # Copyright (c) 2006, Thorsten Roeder, <thorsten.roeder@weihenstephan.org>
0009 #
0010 # Redistribution and use is allowed according to the terms of the BSD license.
0011 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
0012 
0013 
0014 IF (IW_INCLUDE_DIR)
0015   # Already in cache, be silent
0016   SET(LinuxWirelesstools_FIND_QUIETLY TRUE)
0017 ENDIF (IW_INCLUDE_DIR)
0018 
0019 FIND_PATH(IW_INCLUDE_DIR iwlib.h)
0020 
0021 FIND_LIBRARY(IW_LIBRARIES NAMES iw)
0022 
0023 include(FindPackageHandleStandardArgs)
0024 FIND_PACKAGE_HANDLE_STANDARD_ARGS(IW "Could not find Linux Wirelesstools (libIW)" IW_INCLUDE_DIR IW_LIBRARIES )
0025 
0026 
0027 # show the IW_INCLUDE_DIR and IW_LIBRARIES variables only in the advanced view
0028 MARK_AS_ADVANCED(IW_INCLUDE_DIR IW_LIBRARIES )
0029