Fix FTBFS when xrender is missing.

This resolves bug report 1554.
(cherry picked from commit be31b51dbc)
v3.5.13-sru
Alexander Golubev 11 years ago committed by Slávek Banko
parent 1b5e0271d9
commit 0ffdced1e7

@ -591,6 +591,8 @@ endif( WITH_XRANDR )
pkg_search_module( XRENDER xrender ) pkg_search_module( XRENDER xrender )
if( XRENDER_FOUND ) if( XRENDER_FOUND )
set( HAVE_XRENDER 1 ) set( HAVE_XRENDER 1 )
else( XRENDER_FOUND)
message(FATAL_ERROR "\nxrender support is required, but not found on your system" )
endif( XRENDER_FOUND ) endif( XRENDER_FOUND )
##### check for xcomposite ######################### ##### check for xcomposite #########################

Loading…
Cancel
Save