mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 11:31:37 +08:00
96680fe97e
* [cli11] update to 2.1.1 * Update CI baseline
25 lines
706 B
CMake
25 lines
706 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO CLIUtils/CLI11
|
|
REF v2.1.1
|
|
SHA512 9bfd1c297422985171501b81f48bb89e2a3314ce86de930e06f1d0d580c9d31969d758dfc1435d1d5bb2ce957cd3c9bee9e433c9f6cc8ae8c24d05ac8841e3a9
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DCLI11_BUILD_EXAMPLES=OFF
|
|
-DCLI11_BUILD_DOCS=OFF
|
|
-DCLI11_BUILD_TESTS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/CLI11)
|
|
vcpkg_fixup_pkgconfig()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
# Handle copyright
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|