diff --git a/ports/directx-headers/portfile.cmake b/ports/directx-headers/portfile.cmake index 93ec93f09c30de..02dad035541c95 100644 --- a/ports/directx-headers/portfile.cmake +++ b/ports/directx-headers/portfile.cmake @@ -1,19 +1,18 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Microsoft/DirectX-Headers - REF v1.4.9 - SHA512 439d28a8344ef3a012428f53fcb9d2d9823d51c61786363d87f8ba15921326c220478b2557aab3f641a2406f1e5f299a8e21a82547febff3b9cd7b26b09b1c22 + REF v1.602.0 + SHA512 75d81191e3e0b60bc901f04fcb9cf53f0faae7f0c196a1b04f2b9199c72243d4dddaeacad29d82ca7ccb209b16d07b4f1b71a58368fccad13c4d8421e0c9f0d9 HEAD_REF master ) -vcpkg_configure_cmake( +vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA - OPTIONS -DDXHEADERS_BUILD_TEST=OFF + OPTIONS -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF ) -vcpkg_install_cmake() -vcpkg_fixup_cmake_targets(CONFIG_PATH share/directx-headers/cmake) +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH share/directx-headers/cmake) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") diff --git a/ports/directx-headers/vcpkg.json b/ports/directx-headers/vcpkg.json index b0723567c13f00..b250c966d03b8a 100644 --- a/ports/directx-headers/vcpkg.json +++ b/ports/directx-headers/vcpkg.json @@ -1,8 +1,19 @@ { "name": "directx-headers", - "version": "1.4.9", - "port-version": 1, + "version": "1.602.0", "description": "Official DirectX 12 Headers", "homepage": "https://devblogs.microsoft.com/directx/", - "supports": "windows | linux" + "documentation": "https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/", + "license": "MIT", + "supports": "windows | linux", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index d24eaa5d93ee9e..37187e9574b294 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1857,8 +1857,8 @@ "port-version": 3 }, "directx-headers": { - "baseline": "1.4.9", - "port-version": 1 + "baseline": "1.602.0", + "port-version": 0 }, "directxmath": { "baseline": "2022-01-18", diff --git a/versions/d-/directx-headers.json b/versions/d-/directx-headers.json index 7f8bb1812bf07a..bb915e8257c307 100644 --- a/versions/d-/directx-headers.json +++ b/versions/d-/directx-headers.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "f6271f7dc1af5888b39b0443ff7ecc9d01f1db94", + "version": "1.602.0", + "port-version": 0 + }, { "git-tree": "e9da93d00966da04931e1eab14be7bb4fc8998d5", "version": "1.4.9",