early-access version 2853
This commit is contained in:
15
externals/vcpkg/ports/tinygltf/portfile.cmake
vendored
Executable file
15
externals/vcpkg/ports/tinygltf/portfile.cmake
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
# Header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO syoyo/tinygltf
|
||||
REF v2.5.0
|
||||
SHA512 f0e9c3f385deaf3c803edea05602da1cbf173e42c6946ec06b0ec6145f7f258a2429921a1c9baf0ca48353219fedeedfe4ad4516429c970ec4c27d7538873003
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Put the licence file where vcpkg expects it
|
||||
# Copy the tinygltf header files and fix the path to json
|
||||
vcpkg_replace_string("${SOURCE_PATH}/tiny_gltf.h" "#include \"json.hpp\"" "#include <nlohmann/json.hpp>")
|
||||
file(INSTALL "${SOURCE_PATH}/tiny_gltf.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
10
externals/vcpkg/ports/tinygltf/vcpkg.json
vendored
Executable file
10
externals/vcpkg/ports/tinygltf/vcpkg.json
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "tinygltf",
|
||||
"version": "2.5.0",
|
||||
"description": "A header only C++11 glTF 2.0 library.",
|
||||
"homepage": "https://github.com/syoyo/tinygltf",
|
||||
"dependencies": [
|
||||
"nlohmann-json",
|
||||
"stb"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user