Add oecore sysroot variable to CMAKE_FIND_ROOT_PATH
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | plugins/cmake: Refactor creation of CMAKE_FIND_ROOT_PATHplugins/ | +23 | 0 replies | |
| 2/2 | plugins/cmake: Add oecore sysroot variables to CMAKE_FIND_ROOT_PATHplugins/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [eclipse][PATCH 0/2] Add oecore sysroot variable to CMAKE_FIND_ROOT_PATH
From: Timo Mueller <[email protected]>
Hi,
we were not considering the oecore sysroot variables provided by the environment script when constructing the CMAKE_FIND_ROOT_PATH in the toolchain cmake. As the other used variables do not necessarily contain values the CMAKE_FIND_ROOT_PATH can be empty. This can lead to issues when searching paths or libraries with CMake.
By using the oecore sysroot variables we make sure, that the CMAKE_FIND_ROOT_PATH contains sane values and all the find methods of CMake are at least searching the provided sysroot.
01: Refactors the CMAKE_ROOT_PATH construction to ease the future addition or removal of variables
02: Adds the oecore sysroot varaibles
Best regards,
Timo
Timo Mueller (2):
plugins/cmake: Refactor creation of CMAKE_FIND_ROOT_PATH plugins/cmake: Add oecore sysroot variables to CMAKE_FIND_ROOT_PATH
.../YoctoCMakeMakefileGenerator.java | 37 +++++++++++++++------- 1 file changed, 25 insertions(+), 12 deletions(-)
Signature · 1 line
1.9.0