diff --git a/ports/open62541/portfile.cmake b/ports/open62541/portfile.cmake index caee8c448d41ca..0326ded6ae7fcc 100644 --- a/ports/open62541/portfile.cmake +++ b/ports/open62541/portfile.cmake @@ -41,6 +41,10 @@ elseif("mbedtls" IN_LIST FEATURES) set(OPEN62541_ENCRYPTION_OPTIONS -DUA_ENABLE_ENCRYPTION=MBEDTLS) endif() +if("multithreading" IN_LIST FEATURES) + set(OPEN62541_MULTITHREADING_OPTIONS -DUA_MULTITHREADING=100) +endif() + vcpkg_find_acquire_program(PYTHON3) get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY) vcpkg_add_to_path("${PYTHON3_DIR}") @@ -50,6 +54,7 @@ vcpkg_cmake_configure( OPTIONS ${FEATURE_OPTIONS} ${OPEN62541_ENCRYPTION_OPTIONS} + ${OPEN62541_MULTITHREADING_OPTIONS} "-DOPEN62541_VERSION=v${VERSION}" -DUA_ENABLE_DEBUG_SANITIZER=OFF -DUA_MSVC_FORCE_STATIC_CRT=OFF diff --git a/ports/open62541/vcpkg.json b/ports/open62541/vcpkg.json index ef55d40a65ba88..f2311f076a3a79 100644 --- a/ports/open62541/vcpkg.json +++ b/ports/open62541/vcpkg.json @@ -1,6 +1,7 @@ { "name": "open62541", "version": "1.3.15", + "port-version": 1, "description": "open62541 is an open source C (C99) implementation of OPC UA licensed under the Mozilla Public License v2.0.", "homepage": "https://open62541.org", "license": "MPL-2.0", @@ -42,6 +43,9 @@ "methodcalls": { "description": "Enable the Method service set" }, + "multithreading": { + "description": "Enable multi threading support" + }, "openssl": { "description": "Enable encryption support (uses OpenSSL)", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index 9fbdb6bf34425f..40d03d80bc512b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6626,7 +6626,7 @@ }, "open62541": { "baseline": "1.3.15", - "port-version": 0 + "port-version": 1 }, "open62541pp": { "baseline": "0.16.0", diff --git a/versions/o-/open62541.json b/versions/o-/open62541.json index ad096db00f1da6..2957aafeb487f0 100644 --- a/versions/o-/open62541.json +++ b/versions/o-/open62541.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "069f0994eea700649515980c5d35eb9157bbe990", + "version": "1.3.15", + "port-version": 1 + }, { "git-tree": "96ef706dfc63eac612ac3a62f5884f88aaba030c", "version": "1.3.15",