[libcxxabi] r227142 - Adopt CMake policy CMP0042. Set MACOSX_RPATH on by default.
Eric Fiselier
eric at efcs.ca
Mon Jan 26 14:00:30 PST 2015
Author: ericwf
Date: Mon Jan 26 16:00:30 2015
New Revision: 227142
URL: http://llvm.org/viewvc/llvm-project?rev=227142&view=rev
Log:
Adopt CMake policy CMP0042. Set MACOSX_RPATH on by default.
Modified:
libcxxabi/trunk/CMakeLists.txt
Modified: libcxxabi/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/CMakeLists.txt?rev=227142&r1=227141&r2=227142&view=diff
==============================================================================
--- libcxxabi/trunk/CMakeLists.txt (original)
+++ libcxxabi/trunk/CMakeLists.txt Mon Jan 26 16:00:30 2015
@@ -4,6 +4,10 @@
cmake_minimum_required(VERSION 2.8.8)
+if(POLICY CMP0042)
+ cmake_policy(SET CMP0042 NEW) # Set MACOSX_RPATH=YES by default
+endif()
+
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
project(libcxxabi)
More information about the cfe-commits
mailing list