mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 20:29:01 +08:00
f14984af37
* [directx-dxc, directx-headers] updated for December 2022 releases * Add WSL support to directx-dxc * Update targets file * [directx-headers] upstream hotfix for WSL compat issue * Fix-up for WSL header placement * Update baseline * github actions code review * update baseline Co-authored-by: walbourn <chuckw_walbourn@yahoo.com>
22 lines
732 B
CMake
22 lines
732 B
CMake
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Microsoft/DirectX-Headers
|
|
REF v1.608.2b
|
|
SHA512 d4e82615751d9ee46c456c676bfd6831c47d159ee58634531fc1acd09927f00c4e8d379cb233a1f89e3489a6a30d8edc0552b76945071badaed6a9c8591cbb0c
|
|
HEAD_REF main
|
|
)
|
|
|
|
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)
|