[ncurses] Fix "lib model" control. (#29881)

* [cmake-user] Test CMake package Curses with port ncurses

* [ncurses] Control lib models
This commit is contained in:
Kai Pastor 2023-02-28 19:09:09 +01:00 committed by GitHub
parent 1d26dc852e
commit f93710335b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 9 deletions

View File

@ -17,9 +17,9 @@ vcpkg_list(SET OPTIONS)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
list(APPEND OPTIONS
--with-shared
--with-cxx-shared
--without-normal
--with-shared # "lib model"
--without-normal # "lib model"
)
endif()
@ -46,17 +46,12 @@ vcpkg_configure_make(
--disable-db-install
--enable-pc-files
--without-ada
--without-debug # "lib model"
--without-manpages
--without-progs
--without-tack
--without-tests
--with-pkg-config-libdir=libdir
OPTIONS_DEBUG
--with-debug
--without-normal
OPTIONS_RELEASE
--without-debug
--with-normal
)
vcpkg_install_make()

View File

@ -1,6 +1,7 @@
{
"name": "ncurses",
"version": "6.4",
"port-version": 1,
"description": "Free software emulation of curses in System V Release 4.0, and more",
"homepage": "https://invisible-island.net/ncurses/announce.html",
"license": "MIT",

View File

@ -133,6 +133,11 @@
"default-features": false,
"platform": "!uwp & !mingw"
},
{
"$package": "Curses",
"name": "ncurses",
"platform": "!windows | mingw"
},
{
"$package": "PhysFS",
"name": "physfs"

View File

@ -5354,7 +5354,7 @@
},
"ncurses": {
"baseline": "6.4",
"port-version": 0
"port-version": 1
},
"neargye-semver": {
"baseline": "0.3.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "faaf5fff20ee04db0b33a595cd37f41b89c840d6",
"version": "6.4",
"port-version": 1
},
{
"git-tree": "c557b7daa2f3a87a54e037e7b984ad8a661c5903",
"version": "6.4",