2019-02-12 06:23:46 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO rdiankov/collada-dom
|
|
|
|
REF d37ae7532e350b87c88712e9f6ab4b1f440d20cd
|
|
|
|
SHA512 cb923d296219765096f5246cc7a2b69712931f58171ae885dbdbd215fca86d911c34d12748d3304d6a5a350dc737ff0caead2495acac488af5431b437cbacc7d
|
|
|
|
HEAD_REF v2.5.0
|
|
|
|
PATCHES
|
2019-03-20 04:49:03 +08:00
|
|
|
vs-version-detection.patch
|
|
|
|
use-uriparser.patch
|
2021-03-20 00:50:21 +08:00
|
|
|
use-vcpkg-minizip.patch
|
|
|
|
fix-shared-keyword.patch
|
2023-02-11 03:31:29 +08:00
|
|
|
fix-emscripten.patch
|
2019-02-12 06:23:46 +08:00
|
|
|
)
|
|
|
|
|
2023-02-11 03:31:29 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-02-12 06:23:46 +08:00
|
|
|
)
|
|
|
|
|
2023-02-11 03:31:29 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-02-12 06:23:46 +08:00
|
|
|
|
2023-02-11 03:31:29 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/collada_dom-2.5)
|
2019-02-12 06:23:46 +08:00
|
|
|
|
2023-02-11 03:31:29 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2019-02-12 06:23:46 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2023-02-11 03:31:29 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/licenses/license_e.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|