generic: Xkbfile is optional

required only if Xkb is found for the keybord KCM

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2016-08-12 11:39:43 +00:00
parent db65eb1e96
commit e6c742ab7d

View file

@ -72,9 +72,6 @@ if(Q_WS_X11)
add_feature_info("libXau" X11_Xau_FOUND "The X11 Authorization Protocol library may be used by KDM")
add_feature_info("LibXdmcp" X11_Xdmcp_FOUND "The X Display Manager Control Protocol library may be used by KDM")
if(NOT X11_Xkbfile_FOUND)
message(FATAL_ERROR "The X11 keyboard layout library was not found. Required for building keyboard modules.")
endif()
if(NOT X11_Xdamage_FOUND)
message(FATAL_ERROR "The X11 damaged region extension library was not found. Required for compositing support in KWin.")
endif()