summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
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( )