mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
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:
committed by
Brad King
parent
2a384e08cc
commit
d25ad482e9
+6
-2
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user