smeenai added a comment.

Actually, I would imagine that if you're cross-compiling or using a custom 
sysroot, you should probably also specify CMAKE_FIND_ROOT_PATH and set 
CMAKE_FIND_ROOT_PATH_MODE_PACKAGE to ONLY, to limit all these searches to the 
desired directories?

(I'm actually playing around with a bunch of this stuff myself right now. I'm 
curious about your CMake setup for a custom sysroot or cross-compilation and 
what issues you've come across.)


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