2022-10-12 10:28:37 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO spnda/fastgltf
|
2023-03-28 23:37:22 +02:00
|
|
|
REF "v${VERSION}"
|
2023-05-25 20:43:57 +02:00
|
|
|
SHA512 85b946f9ea849bcbbb77ff5d4dc8196d3348757cf6a940be1a50923158a31aa7b43aebed2799256cb3d303a81fa28e5eaeb000b6ecca3ab15f6a7a20908d8e8f
|
2022-10-12 10:28:37 +02:00
|
|
|
HEAD_REF main
|
2023-05-25 20:43:57 +02:00
|
|
|
PATCHES find_package.patch
|
2022-10-12 10:28:37 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
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")
|