Errata 20160418

Topic: CMake error because of invalid arguments
Category: CMake
Corrected: 2.0.2 (or revision r89)
Affected versions: 2.0.0 through 2.0.1
Task: #476


Irccd uses a custom function to generate executables.


The last version of CMake raises a new warning on invalid arguments to CMakeParseArguments. There was a typo in the IrccdDefineExecutable but was silently discarded before CMake 3.5.

This new error prevents installation of irccd and irccdctl executables.


Upgrade to a newer version if applicable or apply one of the following fixes:

Using Mercurial

If you don't have a local copy:

hg clone -u release-2.0

If you already have a local copy:

cd /path/to/irccd
hg pull
hg up release-2.0

And install new version of irccd.

Using patch

Download the following patch:

Apply it:

cd /path/to/irccd/
patch -p1 < /path/to/20160418.patch