mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
18 lines
509 B
CMake
18 lines
509 B
CMake
|
# This module defines
|
||
|
# LIBIW_FOUND - whether the libiw library was found
|
||
|
# LIBIW_LIBRARIES - the libiw library
|
||
|
# LIBIW_INCLUDE_DIR - the include path of the libiw library
|
||
|
|
||
|
find_library(LIBIW_LIBRARY iw)
|
||
|
|
||
|
if(LIBIW_LIBRARY)
|
||
|
set(LIBIW_LIBRARIES ${LIBIW_LIBRARY})
|
||
|
endif(LIBIW_LIBRARY)
|
||
|
|
||
|
find_path(LIBIW_INCLUDE_DIR NAMES iwlib.h)
|
||
|
|
||
|
include(FindPackageHandleStandardArgs)
|
||
|
find_package_handle_standard_args(Libiw DEFAULT_MSG LIBIW_LIBRARY LIBIW_INCLUDE_DIR)
|
||
|
|
||
|
mark_as_advanced(LIBIW_INCLUDE_DIR LIBIW_LIBRARY)
|