From 2912f0f3f27952b4fce6db8cb552e5e30b5043f8 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Fri, 27 Jan 2017 00:34:59 +0100 Subject: [PATCH] fix(cmake): Require xcb-randr>=1.12 for monitors Refs #344 --- cmake/02-opts.cmake | 2 +- cmake/03-libs.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/02-opts.cmake b/cmake/02-opts.cmake index c1753b96..9f817fda 100644 --- a/cmake/02-opts.cmake +++ b/cmake/02-opts.cmake @@ -8,7 +8,7 @@ checklib(ENABLE_I3 "binary" i3) checklib(ENABLE_MPD "pkg-config" libmpdclient) checklib(ENABLE_NETWORK "cmake" Libiw) checklib(WITH_XRM "pkg-config" xcb-xrm) -checklib(WITH_XRANDR_MONITORS "pkg-config" "xrandr>=1.5.0;randrproto>=1.5.0;xcb-proto>=1.12") +checklib(WITH_XRANDR_MONITORS "pkg-config" "xcb-randr>=1.12") option(CXXLIB_CLANG "Link against libc++" OFF) option(CXXLIB_GCC "Link against stdlibc++" OFF) diff --git a/cmake/03-libs.cmake b/cmake/03-libs.cmake index 3ddcd03a..de176a91 100644 --- a/cmake/03-libs.cmake +++ b/cmake/03-libs.cmake @@ -16,7 +16,7 @@ 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_XRANDR_MONITORS "pkg-config" "xcb-randr>=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)