[CMake] Default CMAKE_MACOSX_RPATH to On, this is the default with CMP0042
authorChris Bieneman <beanz@apple.com>
Wed, 24 Feb 2016 22:29:42 +0000 (22:29 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 24 Feb 2016 22:29:42 +0000 (22:29 +0000)
commit956eceae9f21d5f8e3016503a820f619ffe87011
treea55ba5cea152090b3ffd223a93f865848392f213
parent619427658fd0cfced1ff289ab2665f1b739281e7
[CMake] Default CMAKE_MACOSX_RPATH to On, this is the default with CMP0042

Summary: Building the sanitizer libraries without rpaths causes all sorts of problems when you try to use them. This simple fix should make it all work.

Reviewers: samsonov, zaks.anna

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D17556

llvm-svn: 261797
compiler-rt/CMakeLists.txt