aboutsummaryrefslogtreecommitdiff
path: root/ports/pmdk
diff options
context:
space:
mode:
Diffstat (limited to 'ports/pmdk')
-rw-r--r--ports/pmdk/CONTROL4
-rw-r--r--ports/pmdk/portfile.cmake8
2 files changed, 3 insertions, 9 deletions
diff --git a/ports/pmdk/CONTROL b/ports/pmdk/CONTROL
index 1b94a1522..803544c91 100644
--- a/ports/pmdk/CONTROL
+++ b/ports/pmdk/CONTROL
@@ -1,3 +1,3 @@
Source: pmdk
-Version: 1.6
-Description: Persistent Memory Development Kit \ No newline at end of file
+Version: 1.6-1
+Description: Persistent Memory Development Kit
diff --git a/ports/pmdk/portfile.cmake b/ports/pmdk/portfile.cmake
index ecd1d9002..4bede2bb9 100644
--- a/ports/pmdk/portfile.cmake
+++ b/ports/pmdk/portfile.cmake
@@ -1,12 +1,6 @@
include(vcpkg_common_functions)
-if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
- message(STATUS "Static building not supported. Building dynamic.")
- set(VCPKG_LIBRARY_LINKAGE dynamic)
-endif()
-if(VCPKG_CRT_LINKAGE STREQUAL "static")
- message(FATAL_ERROR "Static CRT linkage is not supported")
-endif()
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
if (TRIPLET_SYSTEM_ARCH MATCHES "arm")
message(FATAL_ERROR "ARM is currently not supported")