Move the XRandr test to main ConfigureChecks.cmake

pull/2/head
Alexander Golubev 10 years ago committed by Slávek Banko
parent 3c75381e05
commit 63dd66d045

@ -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 )

@ -45,16 +45,6 @@ else( )
endif( )
##### check for Xrandr ##########################
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( )
##### check for libusb ##########################
if( WITH_LIBUSB )

Loading…
Cancel
Save