Bug 6314 - toolchain.cmake sets empty CMAKE_FIND_ROOT_PATH
Summary: toolchain.cmake sets empty CMAKE_FIND_ROOT_PATH
Status: RESOLVED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.4
Hardware: All Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Timo Mueller
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-05-12 15:53 UTC by Sébastien Taylor
Modified: 2014-05-22 18:01 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Taylor 2014-05-12 15:53:46 UTC
Default toolchain.cmake generated by Eclipse plugin sets CMAKE_FIND_ROOT_PATH as empty.  This causes issues with find_path using CMAKE_FIND_ROOT_PATH as the HINT.  The toolchain.cmake file should instead set CMAKE_FIND_ROOT_PATH to $ENV{OECORE_NATIVE_SYSROOT} ${OECORE_TARGET_SYSROOT}.