Make XCB required, not just recommended

Because it is, well, required.

Reviewed-by: Sebastian Kügler
This commit is contained in:
Martin Klapetek 2013-10-21 15:38:01 +02:00
parent 119db01da0
commit 8ceb7d5fa2

View File

@ -73,7 +73,7 @@ find_package(Qt5X11Extras REQUIRED NO_MODULE)
#optional features
find_package(X11 MODULE)
find_package(XCB MODULE COMPONENTS XCB COMPOSITE DAMAGE)
find_package(XCB MODULE REQUIRED COMPONENTS XCB COMPOSITE DAMAGE)
set_package_properties(XCB PROPERTIES DESCRIPTION "X protocol C-language Binding"
URL "http://xcb.freedesktop.org"
TYPE RECOMMENDED