From be31b51dbc54328b836ebe216ff5c59c017f1c51 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Thu, 1 Aug 2013 19:05:28 -0500 Subject: [PATCH] Fix FTBFS when xrender is missing. This resolves bug report 1554. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b9d179433..324f07b66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -591,6 +591,8 @@ endif( XRANDR_FOUND ) pkg_search_module( XRENDER xrender ) if( XRENDER_FOUND ) set( HAVE_XRENDER 1 ) +else( XRENDER_FOUND) + message(FATAL_ERROR "\nxrender support is required, but not found on your system" ) endif( XRENDER_FOUND ) ##### check for xcomposite #########################