aboutsummaryrefslogtreecommitdiff
path: root/ports/directxtex
diff options
context:
space:
mode:
Diffstat (limited to 'ports/directxtex')
-rw-r--r--ports/directxtex/CONTROL4
-rw-r--r--ports/directxtex/portfile.cmake7
2 files changed, 4 insertions, 7 deletions
diff --git a/ports/directxtex/CONTROL b/ports/directxtex/CONTROL
index e56f82efa..383057056 100644
--- a/ports/directxtex/CONTROL
+++ b/ports/directxtex/CONTROL
@@ -1,3 +1,3 @@
Source: directxtex
-Version: feb2019
-Description: DirectXTex texture processing library \ No newline at end of file
+Version: feb2019-1
+Description: DirectXTex texture processing library
diff --git a/ports/directxtex/portfile.cmake b/ports/directxtex/portfile.cmake
index 4fd90c93b..74e3caf47 100644
--- a/ports/directxtex/portfile.cmake
+++ b/ports/directxtex/portfile.cmake
@@ -1,9 +1,6 @@
include(vcpkg_common_functions)
-if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- message(STATUS "Warning: Dynamic building not supported yet. Building static.")
- set(VCPKG_LIBRARY_LINKAGE static)
-endif()
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
message(FATAL_ERROR "DirectXTex only supports dynamic CRT linkage")
@@ -12,7 +9,7 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Microsoft/DirectXTex
- REF feb2019
+ REF feb2019
SHA512 4eea6fadbcaf1332565034a061c0688fc8ac1c3a25df22b7602f52c0558974e5aaa6aa3104dcfbd2a1718df35272e33a3302f49c0f79f6bee14233bca2532893
HEAD_REF master
)