mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 12:27:48 +08:00
2d53b88aaa
* [directxmath] Updated to DirectXMath 3.18 release * Updated baseline * Update for casing change upstream * Update baseline Co-authored-by: walbourn <chuckw_walbourn@yahoo.com>
32 lines
1.0 KiB
CMake
32 lines
1.0 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Microsoft/DirectXMath
|
|
REF dec2022
|
|
SHA512 61da5464e4a6b0e405307496b0b925fc52e3f7acd3841527c5f8e86d5188865767dd44d4277f034c46b0088d1ee52da72f747c5965cd37411600418b605d4702
|
|
HEAD_REF main
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/directxmath)
|
|
|
|
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
|
vcpkg_download_distfile(
|
|
SAL_HEADER
|
|
URLS "https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h"
|
|
FILENAME "sal.h"
|
|
SHA512 1643571673195d9eb892d2f2ac76eac7113ef7aa0ca116d79f3e4d3dc9df8a31600a9668b7e7678dfbe5a76906f9e0734ef8d6db0903ccc68fc742dd8238d8b0
|
|
)
|
|
|
|
file(INSTALL
|
|
${DOWNLOADS}/sal.h
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include/directxmath)
|
|
endif()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|