[liblemon] Supports recent compilers. (#34532)

* Supports recent compilers.

Recent compilers (e.g. clang>=16) changed the default c++ standard to
cxx17. This will break compilation of liblemon. This commit forces
code to be compiled in cxx14 mode.

* Updates port version.
This commit is contained in:
Marco Correia 2023-10-18 18:21:47 +01:00 committed by GitHub
parent db956472e9
commit 4e0e7efa6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View File

@ -19,6 +19,7 @@ vcpkg_extract_source_archive(
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCMAKE_CXX_STANDARD=14
-DLEMON_ENABLE_GLPK=OFF
-DLEMON_ENABLE_ILOG=OFF
-DLEMON_ENABLE_COIN=OFF

View File

@ -1,7 +1,7 @@
{
"name": "liblemon",
"version-date": "2019-06-13",
"port-version": 7,
"port-version": 8,
"description": "Library for Efficient Modeling and Optimization in Networks",
"homepage": "https://lemon.cs.elte.hu/trac/lemon",
"dependencies": [

View File

@ -4366,7 +4366,7 @@
},
"liblemon": {
"baseline": "2019-06-13",
"port-version": 7
"port-version": 8
},
"liblinear": {
"baseline": "243",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6bdd7ed9804fee3e743082bb048916a213777a79",
"version-date": "2019-06-13",
"port-version": 8
},
{
"git-tree": "e7357874ce9b71f43cb1c298dbb1228ac9241a69",
"version-date": "2019-06-13",