[sword-devel] CMakeLists.txt SWORD_GLOBAL_CONF_DIR

Dominic Tubach 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...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20120327/dbf2e464/attachment.bin>

More information about the sword-devel mailing list