[sword-devel] CMakeLists.txt SWORD_GLOBAL_CONF_DIR
dtubach at web.de
Tue Mar 27 03:09:28 MST 2012
when looking for the reason why the sword locales were not loaded on my
ArchLinux system, I had a look at the CMakeLists.txt. There I found the clause
IF(NOT SWORD_GLOBAL_CONF_DIR STREQUAL "") [l. 104 in version 1.6.2]. This
means if SWORD_GLOBAL_CONF_DIR is not defined at all "/sword.conf" is used for
GLOBCONFPATH. I'm not sure if this is the intended behaviour. I would suggest
to use the following clause: IF(DEFINED SWORD_GLOBAL_CONF_DIR). So if
SWORD_GLOBAL_CONF_DIR is not defined, GLOBCONFPATH will not be defined and the
default specified in the sources will be used.
(Note: SWORD_GLOBAL_CONF_DIR is not defined in the ArchLinux PKGBUILD for
sword; a moment ago I've created a bug report.)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 490 bytes
Desc: This is a digitally signed message part.
More information about the sword-devel