[argtable3] actually disable examples (#23990)

* [argtable3] actually don't build examples

* version

* Fix version

* version

* switch back to "version"

* after 0 comes 1!

* ... and after 1 comes 2!

* version

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
This commit is contained in:
Thomas1664 2022-04-06 21:01:01 +02:00 committed by GitHub
parent 407bc79b39
commit 9029caf52a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 10 deletions

View File

@ -1,12 +1,9 @@
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/argtable/argtable3/releases/download/v3.2.1.52f24e5/argtable-v3.2.1.52f24e5.tar.gz"
FILENAME "argtable-v3.2.1.52f24e5.tar.gz"
SHA512 cec77d56048b38bb7af8553cb660e745972bbd90378eeea4e928579af78190c8a41fdb29c972263e18955e3a497e09c42f705f7c4d548c3c523c5cb104c97a10
)
vcpkg_extract_source_archive_ex(
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
REPO argtable/argtable3
REF 7704006f3cbb556e11da80a5b97469075a32892e # 3.2.1 + minor patches including ARGTABLE3_ENABLE_EXAMPLES support
SHA512 c51aa0a33a247c3801e36ca5d9523acefa31f21a34c1e86965a39290c1b437785e4d7e0ae80a65d811803b8fcbbc3a96ba3d6aefaea9bda15abc0f38bd1f45cc
HEAD_REF master
)
vcpkg_cmake_configure(

View File

@ -1,7 +1,7 @@
{
"name": "argtable3",
"version": "3.2.1",
"port-version": 1,
"port-version": 2,
"description": "A single-file, ANSI C, command-line parsing library that parses GNU-style command-line options",
"homepage": "https://www.argtable.org/",
"license": "BSD-2-Clause-FreeBSD",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "fe3b1c9a876237412e7ba925a3b41f62e7fc1d99",
"version": "3.2.1",
"port-version": 2
},
{
"git-tree": "acbbb26e54e658b8af673a112fb338274275ad6b",
"version": "3.2.1",

View File

@ -150,7 +150,7 @@
},
"argtable3": {
"baseline": "3.2.1",
"port-version": 1
"port-version": 2
},
"argumentum": {
"baseline": "0.3.1",