vcpkg/ports/fastgltf/portfile.cmake
sean 4ba2ecc101
[fastgltf] Update to 0.2.0 (#27816)
* [fastgltf] Update to 0.2.0

* Versions
2022-11-15 13:52:13 -08:00

19 lines
627 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO spnda/fastgltf
REF d21c46e86c28fca1e998cb8a741e62e0a8026b89
SHA512 935bdbd0bf04fc72f5ad5f06f5641493533b6bbfdaf64117eb40093b6c4298da22274b4b6b768489c47f8051bda42f8bf3466ee508cdb3dbe1e61379a461075b
HEAD_REF main
)
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")