Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ports/cgltf/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source: cgltf
Version: 2019-04-30
Description: Single-file glTF 2.0 parser written in C99
16 changes: 16 additions & 0 deletions ports/cgltf/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# header-only library

include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jkuhlmann/cgltf
REF 093ef81bf63ec18ba6d9f61073da8881fb7619b3
SHA512 8801c13ee98780e845c7d28b27d523af86ab2a49499bbb235ee67a91dfacda3c7fddc9503d91918001a432267f890e82c2204a9c1462c64467034d334b0eadf2
HEAD_REF master
)

file(COPY ${SOURCE_PATH}/cgltf.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)

# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)