mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 16:29:00 +08:00
41b95a3c7d
* Add port kissnet * Small fixes again according to the GitHub bot * Update ports/kissnet/portfile.cmake Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Bump port version * Update ports/kissnet/portfile.cmake Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Overwrite version * Only copy header and add usage * Add version * Update ports/kissnet/portfile.cmake Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * version * vdb * Add quotes, remove 'add 1 to x' comments. Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> Co-authored-by: FrankXie <v-frankxie@microsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
15 lines
652 B
CMake
15 lines
652 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Ybalrid/kissnet
|
|
REF 6c2bbbc1a114d83f11cea86d4370766ac12fbbd0 # 2022-10-18
|
|
SHA512 40182631e1c32628380369b7f8ca4dbae2049b0c0480396efb6a8197cca5006c8b68bc64553182c129ef8366a52a2434fd4f134bf5ffa1c0303af80b2e2a8cee
|
|
HEAD_REF master
|
|
)
|
|
|
|
# Install the header-only library
|
|
file(INSTALL "${SOURCE_PATH}/kissnet.hpp"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|