mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 04:07:50 +08:00
16 lines
532 B
CMake
16 lines
532 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
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
|
|
|
|
# Install license
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|