[PATCH] D12644: Using -isysroot on Apple platform

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 6 17:21:45 PDT 2015


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





More information about the cfe-commits mailing list