mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 00:17:54 +08:00
8a9ad06a84
* Update zstr to 1.0.7 * Update CI baseline * Apply suggestions from code review Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com> * Update CI baseline --------- Co-authored-by: chausner <chausner@users.noreply.github.com> Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
20 lines
632 B
CMake
20 lines
632 B
CMake
# header-only library
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO mateidavid/zstr
|
|
REF "v${VERSION}"
|
|
SHA512 3017da244810a45f7111f76f8d0dd988e162f08eab28b7465cad4549d84200fc834975275daf9588d35c6125e6f167c1e2dd5ec18022dac1eceabdc24d24cffe
|
|
HEAD_REF master
|
|
)
|
|
|
|
# Install source files
|
|
file(INSTALL "${SOURCE_PATH}/src/strict_fstream.hpp"
|
|
"${SOURCE_PATH}/src/zstr.hpp"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
|
|
# Install license
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
|
|
# Install usage
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|