summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJannis Voelker <jannis.voelker@basyskom.com>2021-05-26 12:12:43 +0200
committerJannis Voelker <jannis.voelker@basyskom.com>2021-05-26 13:39:24 +0200
commit09efe69adf05ac689e982ad852643bc435dcee06 (patch)
tree87493f077138de6c49f76c86ffe4c823f7934c93
parentf9bd38ce444cd3fb9cb67f10cf9c8fa18aa0755a (diff)
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 <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
-rw-r--r--src/opcua/configure.cmake4
1 files changed, 3 insertions, 1 deletions
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