summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-03-28 23:34:29 +0200
committerSlávek Banko <[email protected]>2022-03-29 00:15:35 +0200
commit58d7c360547e57857982fafd72b8a2086906c7d7 (patch)
tree47e7ff801b96321881836e881274138cf6242ffc /ConfigureChecks.cmake
parent4974727d50923a4393e5f0daddf4694c6e082a84 (diff)
downloadtdebase-58d7c360547e57857982fafd72b8a2086906c7d7.tar.gz
tdebase-58d7c360547e57857982fafd72b8a2086906c7d7.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 <[email protected]>
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 ddbd6025c..b60dd5dc0 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -309,10 +309,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( )