mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 12:41:24 +08:00
[cli11] Update to version 1.9.0 (#10129)
* [cli11] Update to version 1.9.0 * [cli11] Update to version 1.9.0 * [cli11] Modify options
This commit is contained in:
parent
a181bed0cf
commit
4468d7be57
@ -1,4 +1,4 @@
|
||||
Source: cli11
|
||||
Version: 1.8.0
|
||||
Version: 1.9.0
|
||||
Description: CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.
|
||||
Homepage: https://github.com/CLIUtils/CLI11
|
||||
|
@ -1,10 +1,8 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO CLIUtils/CLI11
|
||||
REF v1.8.0
|
||||
SHA512 80071573e3eee524df1ed8cd1fc23c0e197f3ba113db361cb3c2cb843109ddb1c35a65bcb989364bc53d872a80f180e4859f9598da443b870a6260f991705182
|
||||
REF dd0d8e4fe729e5b1110232c7a5c9566dad884686 #version 1.9.0
|
||||
SHA512 dccee89de994d17537b31db717d0f42cae8827a192067718641a6e9e3188f468047a86ce329781142b9c7a1216d5eedcfe975fdbd001f40005a8ab50e08470d9
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -12,8 +10,9 @@ vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DCLI11_TESTING=OFF
|
||||
-DCLI11_EXAMPLES=OFF
|
||||
-DCLI11_BUILD_EXAMPLES=OFF
|
||||
-DCLI11_BUILD_DOCS=OFF
|
||||
-DCLI11_BUILD_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
@ -23,7 +22,4 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/CLI11)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/cli11 RENAME copyright)
|
||||
|
||||
# Post-build test for cmake libraries
|
||||
# vcpkg_test_cmake(PACKAGE_NAME cli11)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
Loading…
x
Reference in New Issue
Block a user