diff options
Diffstat (limited to 'ports/directxtk12')
| -rw-r--r-- | ports/directxtk12/CONTROL | 6 | ||||
| -rw-r--r-- | ports/directxtk12/portfile.cmake | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/ports/directxtk12/CONTROL b/ports/directxtk12/CONTROL index 60393a1d9..41ffd54f7 100644 --- a/ports/directxtk12/CONTROL +++ b/ports/directxtk12/CONTROL @@ -1,3 +1,3 @@ -Source: directxtk12 -Version: dec2016 -Description: A collection of helper classes for writing DirectX 12 code in C++. +Source: directxtk12
+Version: dec2016-1
+Description: A collection of helper classes for writing DirectX 12 code in C++.
diff --git a/ports/directxtk12/portfile.cmake b/ports/directxtk12/portfile.cmake index 6a545ccbd..d51a82b81 100644 --- a/ports/directxtk12/portfile.cmake +++ b/ports/directxtk12/portfile.cmake @@ -1,13 +1,11 @@ -if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) - message(STATUS "Warning: Dynamic building not supported yet. Building static.") - set(VCPKG_LIBRARY_LINKAGE static) -endif() +include(vcpkg_common_functions) + +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic") message(FATAL_ERROR "DirectXTk12 only supports dynamic CRT linkage") endif() -include(vcpkg_common_functions) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/DirectXTK12-dec2016) vcpkg_download_distfile(ARCHIVE URLS "https://github.com/Microsoft/DirectXTK12/archive/dec2016.tar.gz" |
