aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-03-26 13:20:11 +0100
committerStefano Sinigardi <stesinigardi@hotmail.com>2019-03-26 13:20:11 +0100
commitda0c21d879f8d57963dacc2152a88281230bbd18 (patch)
tree1864abec6ccac7742f4b2fccce1bee8eec88a006
parent2e35d018ee7adf79f296ee90e7c83a0dcec0635b (diff)
downloadvcpkg-da0c21d879f8d57963dacc2152a88281230bbd18.tar.gz
vcpkg-da0c21d879f8d57963dacc2152a88281230bbd18.zip
[open62541] add system dependencies for linux, quickly error-out for UWP
-rw-r--r--ports/open62541/CONTROL4
-rw-r--r--ports/open62541/portfile.cmake8
2 files changed, 10 insertions, 2 deletions
diff --git a/ports/open62541/CONTROL b/ports/open62541/CONTROL
index ba51acb5d..abf413d79 100644
--- a/ports/open62541/CONTROL
+++ b/ports/open62541/CONTROL
@@ -1,3 +1,3 @@
Source: open62541
-Version:
-Description:
+Version: 0.3.0
+Description: open62541 is an open source C (C99) implementation of OPC UA licensed under the Mozilla Public License v2.0.
diff --git a/ports/open62541/portfile.cmake b/ports/open62541/portfile.cmake
index 8f44fd7d4..951ad9b48 100644
--- a/ports/open62541/portfile.cmake
+++ b/ports/open62541/portfile.cmake
@@ -1,5 +1,13 @@
include(vcpkg_common_functions)
+if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ message("${PORT} currently requires the following tools from the system package manager:\n python-six\n\nThis can be installed on Ubuntu systems via apt-get install python-six python3-six (depending on your current python default interpreter)")
+endif()
+
+if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ message(FATAL_ERROR "${PORT} does not currently support UWP")
+endif()
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO open62541/open62541