[sword-devel] CMakeLists.txt SWORD_GLOBAL_CONF_DIR

Dmitrijs Ledkovs dmitrij.ledkov at ubuntu.com
Tue Mar 27 03:15:42 MST 2012


I had a similar bug in Xiphos, which was not picking up the
Global_Conf_Dir in the Xiphos module manager.

I will see if I can patch / fix this.



On 27 March 2012 11:09, Dominic Tubach <dtubach at web.de> wrote:
> Hi
> 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.)
> Regards
> Dominic
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

With regards,

Dmitrijs Ledkovs

More information about the sword-devel mailing list