From 09efe69adf05ac689e982ad852643bc435dcee06 Mon Sep 17 00:00:00 2001 From: Jannis Voelker Date: Wed, 26 May 2021 12:12:43 +0200 Subject: Disable OpenSSL for Windows 10 on ARM64 The CI does not yet have OpenSSL libs for this platform. CMake detects the amd64 libraries and the build fails at the linking step. Task-number: QTBUG-93822 Change-Id: I0d762d5934593761a972465cacb86f50dbd593bc Reviewed-by: Qt CI Bot Reviewed-by: Alexandru Croitor Reviewed-by: Frank Meerkoetter --- src/opcua/configure.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/opcua/configure.cmake b/src/opcua/configure.cmake index 1777211..d3aa553 100644 --- a/src/opcua/configure.cmake +++ b/src/opcua/configure.cmake @@ -15,7 +15,9 @@ if (INPUT_open62541 STREQUAL "system") endif() qt_find_package(Uacpp PROVIDED_TARGETS uacpp) -find_package(WrapOpenSSL 1.1) +if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows" AND NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64" AND NOT CMAKE_SYSTEM_VERSION STREQUAL "10") + find_package(WrapOpenSSL 1.1) +endif() # special case end #### Tests -- cgit v1.2.3