зеркало из https://github.com/microsoft/vcpkg.git
[coinutils] Add feature glpk (#31739)
* [coinutils] Add feature glpk * version * add options * version * add without * version * glpk description * version
This commit is contained in:
Родитель
2499eadab8
Коммит
192085896a
|
@ -11,12 +11,18 @@ file(COPY "${CURRENT_INSTALLED_DIR}/share/coin-or-buildtools/" DESTINATION "${SO
|
|||
set(ENV{ACLOCAL} "aclocal -I \"${SOURCE_PATH}/BuildTools\"")
|
||||
|
||||
#--enable-msvc
|
||||
set(options "")
|
||||
if("glpk" IN_LIST FEATURES)
|
||||
list(APPEND options "--with-glpk")
|
||||
else()
|
||||
list(APPEND options "--without-glpk")
|
||||
endif()
|
||||
|
||||
vcpkg_configure_make(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
AUTOCONFIG
|
||||
OPTIONS
|
||||
--with-glpk
|
||||
${options}
|
||||
--with-lapack
|
||||
--without-netlib
|
||||
--without-sample
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "coinutils",
|
||||
"version-date": "2023-02-02",
|
||||
"port-version": 1,
|
||||
"description": "CoinUtils (Coin-or Utilities) is an open-source collection of classes and functions that are generally useful to more than one COIN-OR project",
|
||||
"homepage": "https://www.coin-or.org/",
|
||||
"license": "EPL-2.0",
|
||||
|
@ -8,8 +9,18 @@
|
|||
"dependencies": [
|
||||
"bzip2",
|
||||
"coin-or-buildtools",
|
||||
"glpk",
|
||||
"lapack",
|
||||
"zlib"
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"glpk": {
|
||||
"description": "Build with Glpk",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "glpk",
|
||||
"default-features": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1662,7 +1662,7 @@
|
|||
},
|
||||
"coinutils": {
|
||||
"baseline": "2023-02-02",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"collada-dom": {
|
||||
"baseline": "2.5.0",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5ab5035f6a4fc5601ecc3e644a107b1763426259",
|
||||
"version-date": "2023-02-02",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "9f78d3e4a95d02a06ad5fe90773ca39a25cd93de",
|
||||
"version-date": "2023-02-02",
|
||||
|
|
Загрузка…
Ссылка в новой задаче