23 lines
846 B
CMake
23 lines
846 B
CMake
|
#
|
||
|
# Check libraries
|
||
|
#
|
||
|
|
||
|
find_package(Threads REQUIRED)
|
||
|
list(APPEND libs ${CMAKE_THREAD_LIBS_INIT})
|
||
|
|
||
|
querylib(TRUE "pkg-config" cairo-fc libs dirs)
|
||
|
|
||
|
querylib(ENABLE_ALSA "pkg-config" alsa libs dirs)
|
||
|
querylib(ENABLE_CURL "pkg-config" libcurl libs dirs)
|
||
|
querylib(ENABLE_MPD "pkg-config" libmpdclient libs dirs)
|
||
|
querylib(ENABLE_NETWORK "cmake" Libiw libs dirs)
|
||
|
|
||
|
querylib(WITH_XCOMPOSITE "pkg-config" xcb-composite libs dirs)
|
||
|
querylib(WITH_XDAMAGE "pkg-config" xcb-damage libs dirs)
|
||
|
querylib(WITH_XKB "pkg-config" xcb-xkb libs dirs)
|
||
|
querylib(WITH_XRANDR "pkg-config" xcb-randr libs dirs)
|
||
|
querylib(WITH_XRANDR_MONITORS "pkg-config" "xrandr>=1.5.0;randrproto>=1.5.0;xcb-proto>=1.12" libs dirs)
|
||
|
querylib(WITH_XRENDER "pkg-config" xcb-render libs dirs)
|
||
|
querylib(WITH_XRM "pkg-config" xcb-xrm libs dirs)
|
||
|
querylib(WITH_XSYNC "pkg-config" xcb-sync libs dirs)
|