aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/liblsl/CONTROL3
-rw-r--r--ports/protobuf/portfile.cmake6
-rw-r--r--ports/protobuf/vcpkg.json1
3 files changed, 9 insertions, 1 deletions
diff --git a/ports/liblsl/CONTROL b/ports/liblsl/CONTROL
index 708ea67e1..1433bf143 100644
--- a/ports/liblsl/CONTROL
+++ b/ports/liblsl/CONTROL
@@ -1,6 +1,7 @@
Source: liblsl
Version: 1.14.0
+Port-Version: 1
Homepage: https://github.com/sccn/liblsl
Description: C++ lsl library for multi-modal time-synched data transmission over the local network
-Supports: !(static & staticcrt)
+Supports: !staticcrt
Build-Depends: pugixml
diff --git a/ports/protobuf/portfile.cmake b/ports/protobuf/portfile.cmake
index a86c2d8a0..939e37096 100644
--- a/ports/protobuf/portfile.cmake
+++ b/ports/protobuf/portfile.cmake
@@ -88,6 +88,12 @@ vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/share/${PORT}/protobuf-config.cmake
"if(protobuf_MODULE_COMPATIBLE)"
"if(ON)"
)
+if(NOT protobuf_BUILD_LIBPROTOC)
+ vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/share/${PORT}/protobuf-module.cmake
+ "_protobuf_find_libraries(Protobuf_PROTOC protoc)"
+ ""
+ )
+endif()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
protobuf_try_remove_recurse_wait(${CURRENT_PACKAGES_DIR}/bin)
diff --git a/ports/protobuf/vcpkg.json b/ports/protobuf/vcpkg.json
index 2224b2465..5808add91 100644
--- a/ports/protobuf/vcpkg.json
+++ b/ports/protobuf/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "protobuf",
"version-semver": "3.15.8",
+ "port-version": 1,
"description": "Protocol Buffers - Google's data interchange format",
"homepage": "https://github.com/protocolbuffers/protobuf",
"dependencies": [