parent
017abee679
commit
8fa879c8d8
@ -80,7 +80,7 @@ if(NOT DEFINED WITH_XRM)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED ENABLE_XRANDR_MONITORS)
|
if(NOT DEFINED ENABLE_XRANDR_MONITORS)
|
||||||
pkg_check_modules(XRANDR QUIET xrandr>=1.5.0 randrproto>=1.5.0)
|
pkg_check_modules(XRANDR QUIET xrandr>=1.5.0 randrproto>=1.5.0 xcb-proto>=1.12)
|
||||||
if(NOT XRANDR_FOUND)
|
if(NOT XRANDR_FOUND)
|
||||||
set(XRANDR_FOUND OFF)
|
set(XRANDR_FOUND OFF)
|
||||||
endif()
|
endif()
|
||||||
|
@ -24,7 +24,7 @@ set(APP_INCLUDE_DIRS ${APP_INCLUDE_DIRS} ${CAIRO_INCLUDE_DIRS})
|
|||||||
set(XCB_PROTOS xproto)
|
set(XCB_PROTOS xproto)
|
||||||
if(WITH_XRANDR)
|
if(WITH_XRANDR)
|
||||||
if(ENABLE_XRANDR_MONITORS)
|
if(ENABLE_XRANDR_MONITORS)
|
||||||
pkg_check_modules(XRANDR REQUIRED xrandr>=1.5.0 randrproto>=1.5.0)
|
pkg_check_modules(XRANDR REQUIRED xrandr>=1.5.0 randrproto>=1.5.0 xcb-proto>=1.12)
|
||||||
endif()
|
endif()
|
||||||
set(XCB_PROTOS "${XCB_PROTOS}" randr)
|
set(XCB_PROTOS "${XCB_PROTOS}" randr)
|
||||||
set(XPP_EXTENSION_LIST ${XPP_EXTENSION_LIST} xpp::randr::extension)
|
set(XPP_EXTENSION_LIST ${XPP_EXTENSION_LIST} xpp::randr::extension)
|
||||||
|
Loading…
Reference in New Issue
Block a user