mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 12:19:01 +08:00
b33f616f85
* Updated directx-headers port for v.1.600.10 * Update baseline * Updated directx-headers port for v.1.602.0 * Update baseline * Updated per github-actions bot recommendations * Update baseline * Update versions/d-/directx-headers.json Co-authored-by: Billy O'Neal <bion@microsoft.com> Co-authored-by: Billy O'Neal <bion@microsoft.com>
20 lines
670 B
CMake
20 lines
670 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Microsoft/DirectX-Headers
|
|
REF v1.602.0
|
|
SHA512 75d81191e3e0b60bc901f04fcb9cf53f0faae7f0c196a1b04f2b9199c72243d4dddaeacad29d82ca7ccb209b16d07b4f1b71a58368fccad13c4d8421e0c9f0d9
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/directx-headers/cmake)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|