summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-03-28 23:34:29 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-03-29 09:48:48 +0200
commit28ccd3d7f23f330e40c3f5a4768e8955aada4635 (patch)
treea793c1957f2d120f8efc847f687ff7ca8b560bc5 /ConfigureChecks.cmake
parent515465039af34e4bf87a3d4ae4585e9b37315310 (diff)
downloadtdebase-28ccd3d7f23f330e40c3f5a4768e8955aada4635.tar.gz
tdebase-28ccd3d7f23f330e40c3f5a4768e8955aada4635.zip
Modify screen savers detection that the XSCREENSAVER_DIRS
and XSCREENSAVER_CONFIG_DIRS variables allow multiple paths. Likewise, the XSCREENSAVER HACKS DIRS variable used to search for an screen saver executable can contain multiple paths. This relates to TDE/tdeartwork#19. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 58d7c360547e57857982fafd72b8a2086906c7d7)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 070c32f02..93a15724e 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -317,10 +317,10 @@ if( WITH_XSCREENSAVER )
# where xscreensaver stores its executables. So give the user the possibility
# to define XSCREENSAVER_DIR and speficy the location manually.
include( FindXscreensaver.cmake ) # not really good practise
- if( NOT XSCREENSAVER_DIR )
+ if( NOT XSCREENSAVER_DIRS )
tde_message_fatal(
- "xscreensaver is requested, but cmake can not determine the location of XSCREENSAVER_DIR
- You have to either specify it manually with e.g. -DXSCREENSAVER_DIR=/usr/lib/misc/xscreensaver/
+ "xscreensaver is requested, but cmake can not determine the location of XSCREENSAVER_DIRS
+ You have to either specify it manually with e.g. -DXSCREENSAVER_DIRS=/usr/lib/misc/xscreensaver/
or make sure that xscreensaver installed properly" )
endif( )