aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuro Shibamura <me@shibayan.jp>2019-12-21 09:20:28 +0900
committerRobert Schumacher <roschuma@microsoft.com>2019-12-20 16:20:28 -0800
commit1258ac0a10ddb805595e62fc7000fbaac314ea7f (patch)
tree57d2dcaa7c0dd3fde248dfff200e57511c917139
parent024350d0e10bb70a013b22b00ac58dc62aab5958 (diff)
downloadvcpkg-1258ac0a10ddb805595e62fc7000fbaac314ea7f.tar.gz
vcpkg-1258ac0a10ddb805595e62fc7000fbaac314ea7f.zip
[directxtex] Update to dec2019 release (#9383)
* [directxtex] Update to dec2019 release * [directxtex] Replace UWP detection with VCPKG_TARGET_IS_UWP
-rw-r--r--ports/directxtex/CONTROL2
-rw-r--r--ports/directxtex/portfile.cmake14
-rw-r--r--scripts/ci.baseline.txt1
3 files changed, 10 insertions, 7 deletions
diff --git a/ports/directxtex/CONTROL b/ports/directxtex/CONTROL
index 949dca929..63459b38e 100644
--- a/ports/directxtex/CONTROL
+++ b/ports/directxtex/CONTROL
@@ -1,4 +1,4 @@
Source: directxtex
-Version: oct2019
+Version: dec2019
Homepage: https://walbourn.github.io/directxtex
Description: DirectXTex texture processing library \ No newline at end of file
diff --git a/ports/directxtex/portfile.cmake b/ports/directxtex/portfile.cmake
index d1267b420..0b19ded36 100644
--- a/ports/directxtex/portfile.cmake
+++ b/ports/directxtex/portfile.cmake
@@ -9,8 +9,8 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Microsoft/DirectXTex
- REF oct2019
- SHA512 e9768d029033a049552a19b9f047a9dbae48982d10bc8fe0427ed7e72c89340a3b04d7ae321fe87475f209536ce37b5aa7d8150a376093787f43fe85a0955edf
+ REF dec2019
+ SHA512 b0c7fdeb2f035186eddeb543cd16813c6807b9646367cd309082bd164ab484001dee912249d5570e3ddf5abb90cb3e7c0355a3c18c2e2bd2a051292b65a293f6
HEAD_REF master
)
@@ -30,10 +30,14 @@ else()
message(FATAL_ERROR "Unsupported platform toolset.")
endif()
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+if(VCPKG_TARGET_IS_UWP)
set(SLN_NAME "Windows10_${VS_VERSION}")
else()
- set(SLN_NAME "Desktop_${VS_VERSION}")
+ if(TRIPLET_SYSTEM_ARCH STREQUAL "arm64")
+ set(SLN_NAME "Desktop_${VS_VERSION}_Win10")
+ else()
+ set(SLN_NAME "Desktop_${VS_VERSION}")
+ endif()
endif()
vcpkg_build_msbuild(
@@ -55,7 +59,7 @@ file(INSTALL
${SOURCE_PATH}/DirectXTex/Bin/${SLN_NAME}/${BUILD_ARCH}/Release/DirectXTex.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
-if(NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+if(NOT VCPKG_TARGET_IS_UWP AND NOT TRIPLET_SYSTEM_ARCH STREQUAL "arm64")
set(TOOL_PATH ${CURRENT_PACKAGES_DIR}/tools/directxtex)
file(MAKE_DIRECTORY ${TOOL_PATH})
file(INSTALL
diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt
index 49180c8fe..ad531088a 100644
--- a/scripts/ci.baseline.txt
+++ b/scripts/ci.baseline.txt
@@ -326,7 +326,6 @@ directxmesh:arm64-windows=fail
directxmesh:x64-linux=fail
directxmesh:x64-osx=fail
directxmesh:x64-windows-static=fail
-directxtex:arm64-windows=fail
directxtex:x64-linux=fail
directxtex:x64-osx=fail
directxtex:x64-windows-static=fail