vcpkg/ports/fastgltf/portfile.cmake
sean 210149f599
[fastgltf] Update to 0.5.0 (#31541)
* [fastgltf] Update to 0.5.0

* Versions

* Fix fastgltf CI baseline

* Update 0.5.0 & update hash

* Update hash

* Update hash
2023-05-25 11:43:57 -07:00

20 lines
632 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO spnda/fastgltf
REF "v${VERSION}"
SHA512 85b946f9ea849bcbbb77ff5d4dc8196d3348757cf6a940be1a50923158a31aa7b43aebed2799256cb3d303a81fa28e5eaeb000b6ecca3ab15f6a7a20908d8e8f
HEAD_REF main
PATCHES find_package.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS -DFASTGLTF_DOWNLOAD_SIMDJSON=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")