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)