[PATCH] D12209: [libcxx] Remove installation rules on Darwin when it would overwrite the system installation.
Jonathan Roelofs via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 25 12:02:05 PDT 2015
jroelofs accepted this revision.
This revision is now accepted and ready to land.
================
Comment at: CMakeLists.txt:105
@@ +104,3 @@
+if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT LIBCXX_OVERRIDE_DARWIN_INSTALL)
+ if ("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr")
+ message(WARNING "Disabling libc++ install rules because installation would "
----------------
I would check for "/usr/" too.
http://reviews.llvm.org/D12209
More information about the cfe-commits
mailing list