From 63dd66d0459abfa98d6e6eeec40fa4efd285a074 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Sun, 6 Apr 2014 10:09:39 +0400 Subject: Move the XRandr test to main ConfigureChecks.cmake --- ConfigureChecks.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index bd37b3477..757916aa5 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -83,6 +83,15 @@ if( WITH_XRENDER OR BUILD_KDESKTOP OR BUILD_KONSOLE OR BUILD_KCONTROL OR BUILD_K endif( ) +# xrender (kcontrol, twin) +if( WITH_XRANDR ) + pkg_search_module( XRANDR xrandr ) + if( NOT XRANDR_FOUND ) + tde_message_fatal( "xrandr are requested, but not found on your system" ) + endif( ) +endif( ) + + # xcursor (tdeioslave, kcontrol) if( WITH_XCURSOR ) pkg_search_module( XCURSOR xcursor ) -- cgit v1.2.3