mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 17:09:07 +08:00
504acb9383
* [zstr] Add zstr_make_unique_polyfill.h to install list Fixes microsoft#16402 * [zstr] Install inside include/ instead of include/zstr/ Fixes microsoft#18067 * [zstr] Replace CONTROL with vcpkg.json * format manifest file * Update ports/zstr/vcpkg.json * update version * [zstr] Run format-manifest * [zstr] Update port-version * [zstr] Run x-add-version * [zstr] Add usage msg override * [zstr] Rerun x-add-version Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
20 lines
689 B
CMake
20 lines
689 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO mateidavid/zstr
|
|
REF v1.0.4
|
|
SHA512 148dd7741747917d826f0caf291730e14317c700961bec6ae360c1f6a3988d5db555c36428c9641fba3cd76a63b5880dce6b2af47a4388c5451bddce45c39944
|
|
HEAD_REF master
|
|
)
|
|
|
|
# Install source files
|
|
file(INSTALL ${SOURCE_PATH}/src/strict_fstream.hpp
|
|
${SOURCE_PATH}/src/zstr.hpp
|
|
${SOURCE_PATH}/src/zstr_make_unique_polyfill.h
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
# Install license
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
|
|
# Install usage
|
|
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|