mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 12:58:03 +08:00
[ncurses] Fix "lib model" control. (#29881)
* [cmake-user] Test CMake package Curses with port ncurses * [ncurses] Control lib models
This commit is contained in:
parent
1d26dc852e
commit
f93710335b
@ -17,9 +17,9 @@ vcpkg_list(SET OPTIONS)
|
|||||||
|
|
||||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||||
list(APPEND OPTIONS
|
list(APPEND OPTIONS
|
||||||
--with-shared
|
|
||||||
--with-cxx-shared
|
--with-cxx-shared
|
||||||
--without-normal
|
--with-shared # "lib model"
|
||||||
|
--without-normal # "lib model"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -46,17 +46,12 @@ vcpkg_configure_make(
|
|||||||
--disable-db-install
|
--disable-db-install
|
||||||
--enable-pc-files
|
--enable-pc-files
|
||||||
--without-ada
|
--without-ada
|
||||||
|
--without-debug # "lib model"
|
||||||
--without-manpages
|
--without-manpages
|
||||||
--without-progs
|
--without-progs
|
||||||
--without-tack
|
--without-tack
|
||||||
--without-tests
|
--without-tests
|
||||||
--with-pkg-config-libdir=libdir
|
--with-pkg-config-libdir=libdir
|
||||||
OPTIONS_DEBUG
|
|
||||||
--with-debug
|
|
||||||
--without-normal
|
|
||||||
OPTIONS_RELEASE
|
|
||||||
--without-debug
|
|
||||||
--with-normal
|
|
||||||
)
|
)
|
||||||
vcpkg_install_make()
|
vcpkg_install_make()
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ncurses",
|
"name": "ncurses",
|
||||||
"version": "6.4",
|
"version": "6.4",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Free software emulation of curses in System V Release 4.0, and more",
|
"description": "Free software emulation of curses in System V Release 4.0, and more",
|
||||||
"homepage": "https://invisible-island.net/ncurses/announce.html",
|
"homepage": "https://invisible-island.net/ncurses/announce.html",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -133,6 +133,11 @@
|
|||||||
"default-features": false,
|
"default-features": false,
|
||||||
"platform": "!uwp & !mingw"
|
"platform": "!uwp & !mingw"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$package": "Curses",
|
||||||
|
"name": "ncurses",
|
||||||
|
"platform": "!windows | mingw"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$package": "PhysFS",
|
"$package": "PhysFS",
|
||||||
"name": "physfs"
|
"name": "physfs"
|
||||||
|
@ -5354,7 +5354,7 @@
|
|||||||
},
|
},
|
||||||
"ncurses": {
|
"ncurses": {
|
||||||
"baseline": "6.4",
|
"baseline": "6.4",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"neargye-semver": {
|
"neargye-semver": {
|
||||||
"baseline": "0.3.0",
|
"baseline": "0.3.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "faaf5fff20ee04db0b33a595cd37f41b89c840d6",
|
||||||
|
"version": "6.4",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "c557b7daa2f3a87a54e037e7b984ad8a661c5903",
|
"git-tree": "c557b7daa2f3a87a54e037e7b984ad8a661c5903",
|
||||||
"version": "6.4",
|
"version": "6.4",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user