mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 19:07:52 +08:00
5132044bc4
* [clipp] Add patch to fix std::result_of deprecated in C++20 * x-add-version * Modify version-string to version-date * x-add-version * Add upstream PR comment. * Version DB Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
19 lines
652 B
CMake
19 lines
652 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO "muellan/clipp"
|
|
REF 2c32b2f1f7cc530b1ec1f62c92f698643bb368db
|
|
SHA512 4645fafe85a8099ea97b85e939747a12e9b3b92213b5b8207a9c277537377b77b5daebd88a4c090ea89cfff2937a9fc155da6e8b5558574d7129227c28826e1c
|
|
HEAD_REF master
|
|
PATCHES
|
|
Fix-result_of-deprecated-in-C++20.patch # https://github.com/muellan/clipp/pull/54
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|