[sword-devel] Sword SVN trunk fails to build using CMake

Troy A. Griffitts scribe at crosswire.org
Thu Dec 31 14:05:02 EST 2020


Dear Jaak,

Thank you for reporting the problem.  Yes, it looks like you have
pointed out exactly the problem.  I've committed a small change to do
the svn revision lookup differently and to ignore any failures if not
building within an svn working copy.  My apologies for the troubles.

Troy


On 12/31/20 6:32 AM, Jaak Ristioja wrote:
> Hello and Merry Christmas! :)
>
> Today the BibleTime CI system started getting the following errors
> from CMake when trying to build Sword:
>
>     CMake Error at cmake/options.cmake:75 (PROCESS_VERSION):
>       PROCESS_VERSION Macro invoked with incorrect arguments for macro
> named:
>       PROCESS_VERSION
>     Call Stack (most recent call first):
>       CMakeLists.txt:31 (INCLUDE)
>     CMake Error at cmake/options.cmake:76 (PROCESS_VERSION):
>       PROCESS_VERSION Macro invoked with incorrect arguments for macro
> named:
>       PROCESS_VERSION
>     Call Stack (most recent call first):
>       CMakeLists.txt:31 (INCLUDE)
>
> See https://travis-ci.org/github/bibletime/bibletime/jobs/752237032
> for build details.
>
> Perhaps this is caused by SVN 3836 ("First cut to remove internal copy
> of old zlib code.") which made the following change to CMakeLists.txt?
>
>   -SET(SWORD_VERSION 1.9.0)
>   +SET(SWORD_VERSION 1.9.0.svnversion)
>
>
> J
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page


More information about the sword-devel mailing list