mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 17:39:01 +08:00
3fcfccf0ca
* Update for directx-headers release 1.0.1 * DirectXMesh, DirectXTex, and UVAtlas now support Linux * Updated hashes and bins * Fix linux builds * Fixed directxtex[openexr] for x64-linux * Removed stray file * directxmath hot-fix for GCC arm64 * Fixed hash * Hash fix again * x64-linux CIs use GCC 7, but I require GCC 9 * Added warning message for GCC 9 requirement
23 lines
687 B
CMake
23 lines
687 B
CMake
vcpkg_fail_port_install(ON_TARGET "OSX")
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Microsoft/DirectX-Headers
|
|
REF v1.0.1
|
|
SHA512 1b0f89088b7dba846d443fd943787848435bd1b731adc7e2f4fab6f32203775153811a7d7c297ecf44ca60628db8346a8246942c609c5116481a70e67633fb04
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS -DBUILD_TEST=OFF
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_fixup_cmake_targets(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)
|