OS X: Add CMP0042 to enable MACOSX_RPATH by default

Also adding documentation for CMAKE_MACOSX_RPATH, and improving
documentation for MACOSX_RPATH.
This commit is contained in:
Clinton Stimpson
2013-12-18 21:25:29 -07:00
committed by Brad King
parent 2a384e08cc
commit d25ad482e9
30 changed files with 223 additions and 14 deletions
+6 -2
View File
@@ -26,7 +26,8 @@
F(CMP0020) \
F(CMP0021) \
F(CMP0022) \
F(CMP0041)
F(CMP0041) \
F(CMP0042)
class cmake;
class cmMakefile;
@@ -382,7 +383,10 @@ public:
std::string GetSOName(const char* config) const;
/** Whether this library has \@rpath and platform supports it. */
bool HasMacOSXRpath(const char* config) const;
bool HasMacOSXRpathInstallNameDir(const char* config) const;
/** Whether this library defaults to \@rpath. */
bool MacOSXRpathInstallNameDirDefault() const;
/** Test for special case of a third-party shared library that has
no soname at all. */