Project

General

Profile

Actions

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

Background

Irccd uses a custom function to generate executables.

Problem

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.

Solution

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 http://hg.malikania.fr/irccd

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

Updated by David Demelier almost 7 years ago · 2 revisions