diff options
author | Don Hinton <hintonda@gmail.com> | 2018-01-22 19:41:05 +0000 |
---|---|---|
committer | Don Hinton <hintonda@gmail.com> | 2018-01-22 19:41:05 +0000 |
commit | ae858bf65fef652108ca926b1acf0a636a0fc057 (patch) | |
tree | f7a19ace2f2246047bfbe43247a54389cc66001c /libcxx/include/algorithm | |
parent | 46814bee63480b7bd891a66821f9946575832aed (diff) | |
download | bcm5719-llvm-ae858bf65fef652108ca926b1acf0a636a0fc057.tar.gz bcm5719-llvm-ae858bf65fef652108ca926b1acf0a636a0fc057.zip |
[cmake] [libcxxabi] Fix find_path() problems when cross compiling
When CMAKE_SYSROOT or CMAKE_FIND_ROOT_PATH is set, cmake
recommends setting CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY
globally which means find_path() always prepends CMAKE_SYSROOT or
CMAKE_FIND_ROOT_PATH to all paths used in the search.
However, these find_path() invocations are looking for paths in
the libcxx and libunwind projects on the host system, not the
target system, which can be done by passing
NO_CMAKE_FIND_ROOT_PATH.
Differential Revision: https://reviews.llvm.org/D41623
llvm-svn: 323145
Diffstat (limited to 'libcxx/include/algorithm')
0 files changed, 0 insertions, 0 deletions