Commit baad20a
committed
hyperion: find Qt5 cmake configs in staging area and addon (2)
Qt5 is built with -sysroot removed and installs entirely under its own
staging prefix rather than into the sysroot. The default cmake toolchain
file sets CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY, so cmake cannot find
Qt5's config files outside CMAKE_FIND_ROOT_PATH.
Generate a thin wrapper toolchain file that includes the real LE toolchain
and appends Qt5's staging prefix to CMAKE_FIND_ROOT_PATH. Pass this via
PKG_CMAKE_OPTS_TARGET so it overrides the default toolchain file.1 parent 9922eca commit baad20a
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| |||
0 commit comments