vcpkg/ports/fastgltf/portfile.cmake
sean dcc6c1d4bf
[fastgltf] New port (#27138)
* [fastgltf] New port

* Versions
2022-10-12 01:28:37 -07:00

19 lines
627 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO spnda/fastgltf
REF b19e66b6165bb034773034c90ec0b4d1f0969b11
SHA512 25cb2410a09e70667579d0b82c2417283cff2029dddadad27c53f44190bcaffeb6b97e6d32c2be87a675f63da4cae0ebd7505af566f12dfb44917ca4a27c3ec5
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")