aboutsummaryrefslogtreecommitdiff
path: root/ports/directxtk
diff options
context:
space:
mode:
Diffstat (limited to 'ports/directxtk')
-rw-r--r--ports/directxtk/CONTROL2
-rw-r--r--ports/directxtk/portfile.cmake5
2 files changed, 2 insertions, 5 deletions
diff --git a/ports/directxtk/CONTROL b/ports/directxtk/CONTROL
index 4bb583437..81f29bd66 100644
--- a/ports/directxtk/CONTROL
+++ b/ports/directxtk/CONTROL
@@ -1,3 +1,3 @@
Source: directxtk
-Version: feb2019
+Version: feb2019-1
Description: A collection of helper classes for writing DirectX 11.x code in C++.
diff --git a/ports/directxtk/portfile.cmake b/ports/directxtk/portfile.cmake
index 87ea23027..bfa7384fb 100644
--- a/ports/directxtk/portfile.cmake
+++ b/ports/directxtk/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 "DirectXTK only supports dynamic CRT linkage")