mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 05:47:51 +08:00
16 lines
553 B
CMake
16 lines
553 B
CMake
# header-only library
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO jkuhlmann/cgltf
|
|
REF v1.5
|
|
SHA512 b27b4f221a09aba1b4fa316ae5c4117f28592c717d606668d9c7e5986f8a9787014467b7c8e545194c69a4df6c7be7a797a16b26081df202da9ffd3a7ccc202f
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(COPY ${SOURCE_PATH}/cgltf.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
file(COPY ${SOURCE_PATH}/cgltf_write.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
# Handle copyright
|
|
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|