EricWF added a comment.

You need to use the CMake option `CMAKE_OSX_SYSROOT` to manage the system root 
because `lib/CMakeLists.txt` uses "CMAKE_OSX_SYSROOT" to find the correct 
libc++abi.dylib.
Have you tried that? It is unfortunate that Linux and OS X use different 
options for the same thing though. Maybe we could set `CMAKE_OSX_SYSROOT` 
internally based on `LIBCXX_SYSROOT`?


http://reviews.llvm.org/D12644



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

Reply via email to