[open62541] add system dependencies for linux, quickly error-out for UWP

This commit is contained in:
Stefano Sinigardi 2019-03-26 13:20:11 +01:00
parent 2e35d018ee
commit da0c21d879
2 changed files with 10 additions and 2 deletions

View File

@ -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.

View File

@ -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