summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2013-12-19 04:25:29 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-02 18:41:49 (GMT)
commitd25ad482e978cbf5e4fcfa8b1dcc342ba93dcda0 (patch)
treef0a1f688356d4f346279bacc9203c467a5bb76ac /Source/cmPolicies.cxx
parent2a384e08cc0809fec75ebb20be585fb5a1bf591a (diff)
downloadCMake-d25ad482e978cbf5e4fcfa8b1dcc342ba93dcda0.zip
CMake-d25ad482e978cbf5e4fcfa8b1dcc342ba93dcda0.tar.gz
CMake-d25ad482e978cbf5e4fcfa8b1dcc342ba93dcda0.tar.bz2
OS X: Add CMP0042 to enable MACOSX_RPATH by default
Also adding documentation for CMAKE_MACOSX_RPATH, and improving documentation for MACOSX_RPATH.
Diffstat (limited to 'Source/cmPolicies.cxx')
-rw-r--r--Source/cmPolicies.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx
index 0b3018e..987c663 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -311,6 +311,11 @@ cmPolicies::cmPolicies()
CMP0041, "CMP0041",
"Error on relative include with generator expression.",
3,0,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0042, "CMP0042",
+ "MACOSX_RPATH is enabled by default.",
+ 3,0,0,0, cmPolicies::WARN);
}
cmPolicies::~cmPolicies()