aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/linux/open62541.sh
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/common/linux/open62541.sh')
-rwxr-xr-xcoin/provisioning/common/linux/open62541.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/coin/provisioning/common/linux/open62541.sh b/coin/provisioning/common/linux/open62541.sh
index 97a76886..962e8963 100755
--- a/coin/provisioning/common/linux/open62541.sh
+++ b/coin/provisioning/common/linux/open62541.sh
@@ -5,7 +5,7 @@
## Copyright (C) 2017 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
-## This file is part of the test suite of the Qt Toolkit.
+## This file is part of the provisioning scripts of the Qt Toolkit.
##
## $QT_BEGIN_LICENSE:LGPL21$
## Commercial License Usage
@@ -59,15 +59,15 @@ sudo pip install six
git clone https://github.com/open62541/open62541.git open62541
cd open62541
-git checkout 8845e493d7751fd4eee3917b540e5346646b9cf7
+git checkout 215651ab8db94e5eacdd10ec26a5a9fb96b9301f
mkdir build
cd build
-cmake -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_METHODCALLS=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -DLIB_INSTALL_DIR:PATH=/usr/local/lib/open62541 ..
+TARGETPATH=/opt/open62541
+cmake -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_METHODCALLS=ON -DCMAKE_INSTALL_PREFIX:PATH="$TARGETPATH" ..
make
sudo make install
sudo /sbin/ldconfig
-SetEnvVar "QTOPCUA_OPEN62541_LIB_PATH" "/usr/local/lib/open62541"
-SetEnvVar "QTOPCUA_OPEN62541_INCLUDE_PATH" "/usr/local/include/open62541"
+SetEnvVar "CI_OPEN62541_GCC_X64_PREFIX" "$TARGETPATH"