aboutsummaryrefslogtreecommitdiff
path: root/ports/capnproto
diff options
context:
space:
mode:
Diffstat (limited to 'ports/capnproto')
-rw-r--r--ports/capnproto/CONTROL2
-rw-r--r--ports/capnproto/portfile.cmake9
2 files changed, 4 insertions, 7 deletions
diff --git a/ports/capnproto/CONTROL b/ports/capnproto/CONTROL
index e02002656..3014018b9 100644
--- a/ports/capnproto/CONTROL
+++ b/ports/capnproto/CONTROL
@@ -1,4 +1,4 @@
Source: capnproto
-Version: 0.7.0
+Version: 0.7.0-1
Description: Data interchange format and capability-based RPC system https://capnproto.org/
Build-Depends: zlib
diff --git a/ports/capnproto/portfile.cmake b/ports/capnproto/portfile.cmake
index 35ac53fcd..a9916a70a 100644
--- a/ports/capnproto/portfile.cmake
+++ b/ports/capnproto/portfile.cmake
@@ -3,16 +3,13 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore)
endif()
if(DEFINED VCPKG_CMAKE_SYSTEM_NAME)
- # Undefined VCPKG_CMAKE_SYSTEM_NAME means Windows
message(FATAL_ERROR "Error: CapnProto only build on Windows for now. See #5630 and #5635")
endif()
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
- message("Building DLLs not supported. Building static instead.")
- set(VCPKG_LIBRARY_LINKAGE static)
-endif()
-
include(vcpkg_common_functions)
+
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO capnproto/capnproto