2022-10-12 16:28:37 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO spnda/fastgltf
|
2022-11-16 05:52:13 +08:00
|
|
|
REF d21c46e86c28fca1e998cb8a741e62e0a8026b89
|
|
|
|
SHA512 935bdbd0bf04fc72f5ad5f06f5641493533b6bbfdaf64117eb40093b6c4298da22274b4b6b768489c47f8051bda42f8bf3466ee508cdb3dbe1e61379a461075b
|
2022-10-12 16:28:37 +08:00
|
|
|
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")
|