summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 14:04:34 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 14:04:34 -0500
commit0d3ebd90203be2314e9c9fece66216f36dab3abe (patch)
tree4291bbfa32286d328059df54f4e3cc5b8cea98d0 /ConfigureChecks.cmake
parent763b290f0123855a1d9e8fde0583297e0ce5941b (diff)
downloadtdebase-0d3ebd90203be2314e9c9fece66216f36dab3abe.tar.gz
tdebase-0d3ebd90203be2314e9c9fece66216f36dab3abe.zip
Do not display screensavers in the configuration dialog that are not installed on the system
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 9971e5538..e7e5709ad 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -161,6 +161,10 @@ if( WITH_XSCREENSAVER )
else( )
tde_message_fatal( "xscreensaver is requested, but was not found on your system" )
endif( )
+ include( FindXscreensaver.cmake ) # not really good practise
+ if( NOT XSCREENSAVER_FOUND )
+ message( FATAL_ERROR "\nxscreensaver is requested, but was not found on your system" )
+ endif( )
endif( )