mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:27:52 +08:00
10bde77210
* [collada-dom] Initial collada-dom port * [osg] Add Collada file support
27 lines
922 B
CMake
27 lines
922 B
CMake
include(vcpkg_common_functions)
|
|
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/collada-dom-2.5.0)
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO rdiankov/collada-dom
|
|
REF d37ae7532e350b87c88712e9f6ab4b1f440d20cd
|
|
SHA512 cb923d296219765096f5246cc7a2b69712931f58171ae885dbdbd215fca86d911c34d12748d3304d6a5a350dc737ff0caead2495acac488af5431b437cbacc7d
|
|
HEAD_REF v2.5.0
|
|
PATCHES
|
|
"${CMAKE_CURRENT_LIST_DIR}/vs-version-detection.patch"
|
|
"${CMAKE_CURRENT_LIST_DIR}/use-uriparser.patch"
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/collada_dom-2.5")
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/licenses/license_e.txt DESTINATION
|
|
${CURRENT_PACKAGES_DIR}/share/collada-dom
|
|
RENAME copyright) |