build: add xproto dep

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-28 15:52:43 +02:00
parent 89700eeebe
commit be77ae2f98
2 changed files with 3 additions and 1 deletions

1
README
View File

@ -7,6 +7,7 @@ Requirements
In order to build awesome itself, you need header files and libs of: In order to build awesome itself, you need header files and libs of:
- cmake (>= 2.6) - cmake (>= 2.6)
- Xlib - Xlib
- xproto
- xcb (>= 1.1) - xcb (>= 1.1)
- xcb-util (>= 0.3) - xcb-util (>= 0.3)
- Lua (>= 5.1) - Lua (>= 5.1)

View File

@ -142,7 +142,8 @@ pkg_check_modules(AWESOME_REQUIRED REQUIRED
xcb-atom>=0.3.0 xcb-atom>=0.3.0
xcb-keysyms>=0.3.0 xcb-keysyms>=0.3.0
xcb-icccm>=0.3.0 xcb-icccm>=0.3.0
cairo-xcb) cairo-xcb
xproto>=7.0.11)
if(NOT AWESOME_REQUIRED_FOUND OR NOT AWESOME_COMMON_REQUIRED_FOUND) if(NOT AWESOME_REQUIRED_FOUND OR NOT AWESOME_COMMON_REQUIRED_FOUND)
message(FATAL_ERROR) message(FATAL_ERROR)