Commit bcc6db46 authored by Jérome Perrin's avatar Jérome Perrin

component/open62541: fix "Could NOT find Python3"

there was a typo environement/environment, so slapos python was not
used. Another problem is that open62541 vendors (see [1]) an old version of
cmake's FindPython3 which does not lookup versions more recent that 3.8.

Fix this by removing the vendored FindPython3 to use the one from cmake.

[1]: https://github.com/open62541/open62541/blob/v1.3/tools/cmake/FindPython/Support.cmake#L20C7-L20C34
parent 119d0af3
......@@ -19,6 +19,10 @@ md5sum = c2e9938f082b027110fba538de76684c
patch-options = -p1
patches =
${:_profile_base_location_}/ipv6_bugfix.patch#355bec02adee4ea73ff5a56ba6971ad2
pre-configure =
# remove old FindPython3 which does not know about python > 3.8 to
# use FindPython3 bundled with slapos' cmake
rm tools/cmake/FindPython3.cmake tools/cmake/FindPython/Support.cmake
configure-command =
${cmake:location}/bin/cmake
configure-options =
......@@ -30,5 +34,5 @@ configure-options =
-DUA_NAMESPACE_ZERO=REDUCED
post-install =
cp src/pubsub/*.h deps/open62541_queue.h @@LOCATION@@/include
environement =
environment =
PATH=${python3:location}/bin:${patch:location}/bin:%(PATH)s
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment