From: Eric Fiselier Date: Mon, 26 Jan 2015 22:00:30 +0000 (+0000) Subject: Adopt CMake policy CMP0042. Set MACOSX_RPATH on by default. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42c8f93cc872783dd625b93dbc62dc650476a297;p=platform%2Fupstream%2Fllvm.git Adopt CMake policy CMP0042. Set MACOSX_RPATH on by default. llvm-svn: 227142 --- diff --git a/libcxxabi/CMakeLists.txt b/libcxxabi/CMakeLists.txt index 8402480..0551200 100644 --- a/libcxxabi/CMakeLists.txt +++ b/libcxxabi/CMakeLists.txt @@ -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)