COIN-OR::LEMON - Graph Library

Opened 3 years ago

Closed 3 years ago

#641 closed defect (fixed)

Maintainer mode does not work as expected

Reported by: Alpar Juttner Owned by: Alpar Juttner
Priority: major Milestone: LEMON 1.4 release
Component: core Version: hg main
Keywords: Cc:
Revision id:

Description

With newer version of CMAKE (e.g. 3.17.0)the Maintainer mode does not work properly, it disregards the mode specific compiler flags.

Any suggestion how to fix it?

Attachments (1)

641-736a341e604b.patch (3.9 KB) - added by Alpar Juttner 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by Alpar Juttner

Attachment: 641-736a341e604b.patch added

comment:1 Changed 3 years ago by Alpar Juttner

The attached patch fixes this by adding FORCE flags to the corresponding variable settings. It has an effect that these settings cannot be overwritten, but I can't see other option.

In addition it removes OLD behavior for policy... warnings by changing them to NEW. Expect for CMP0048, which is impossible change, because our versioning system is incompatible with the one required by the new policy.

comment:2 Changed 3 years ago by Alpar Juttner

Changeset [736a341e604b] is in the main branch now.

comment:3 Changed 3 years ago by Alpar Juttner

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.