mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-24 19:59:43 +00:00
[cgltf] Add new port (#6369)
This commit is contained in:
parent
4825f3ba61
commit
04616db27e
3
ports/cgltf/CONTROL
Normal file
3
ports/cgltf/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: cgltf
|
||||
Version: 2019-04-30
|
||||
Description: Single-file glTF 2.0 parser written in C99
|
16
ports/cgltf/portfile.cmake
Normal file
16
ports/cgltf/portfile.cmake
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user