COIN-OR::LEMON - Graph Library

Opened 10 years ago

Closed 10 years ago

#277 closed task (done)

CMake find macro improvements

Reported by: Akos Ladanyi Owned by: Akos Ladanyi
Priority: minor Milestone: LEMON 1.1 release
Component: build system Version: hg main
Keywords: Cc:
Revision id:

Description

The attached bundle contains the following improvements to the find macros:

  • add GLPK_ROOT_DIR variable to FindGLPK
  • check the version number in FindGLPK
  • add CPLEX_ROOT_DIR variable to FindCPLEX
  • link libm and libpthread in case using CPLEX
  • look for the COIN libraries with and without the lib prefix too

Attachments (1)

cmake.hgbundle (3.0 KB) - added by Akos Ladanyi 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by Akos Ladanyi

Attachment: cmake.hgbundle added

comment:1 Changed 10 years ago by Akos Ladanyi

Status: newassigned

comment:2 Changed 10 years ago by Alpar Juttner

It would be nice if the pkg_config file also provided the linker flags for the used libs.

comment:3 in reply to:  2 Changed 10 years ago by Akos Ladanyi

Replying to alpar:

It would be nice if the pkg_config file also provided the linker flags for the used libs.

Please see #281.

comment:4 Changed 10 years ago by Alpar Juttner

Resolution: done
Status: assignedclosed

The contents of cmake.hgbundle has been applied to the tip and it is now in the main branch, see [4629e096e3af], [89705c452130], [6dc44006c1a8], [4faa0c763906] and [57e6f560fb13].

Note: See TracTickets for help on using tickets.