smeenai added a comment.

Ah, the documentation is confusing, but CMAKE_FIND_ROOT_PATH and 
CMAKE_FIND_ROOT_PATH_MODE_PACKAGE only have an effect when using the config 
mode of find_package, whereas this invocation is using the module mode. That's 
a bummer, and definitely makes custom sysroots and cross-compilation harder 
than it should be. Sorry for the noise.


Repository:
  rC Clang

https://reviews.llvm.org/D48459



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to