diff options
author | Brad King <brad.king@kitware.com> | 2008-02-04 20:22:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-04 20:22:10 (GMT) |
commit | 847c8403fe23e241d7fd3a7478790938afc24a9e (patch) | |
tree | 3ef399b494caa9d489f87a4fbd683783970713c9 /Source/cmake.cxx | |
parent | c12a7e388d449e96107ba1eea8b8b2f2469ec20f (diff) | |
download | CMake-847c8403fe23e241d7fd3a7478790938afc24a9e.zip CMake-847c8403fe23e241d7fd3a7478790938afc24a9e.tar.gz CMake-847c8403fe23e241d7fd3a7478790938afc24a9e.tar.bz2 |
BUG: Added TARGET_ARCHIVES_MAY_BE_SHARED_LIBS global property to help compute proper rpath information on AIX when shared libraries have names like "libfoo.a".
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index b5bf0dc..271a6b6 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -3245,6 +3245,13 @@ void cmake::DefineProperties(cmake *cm) "platform supports shared libraries. Basically all current general " "general purpose OS do so, the exception are usually embedded systems " "with no or special OSs."); + + cm->DefineProperty + ("TARGET_ARCHIVES_MAY_BE_SHARED_LIBS", cmProperty::GLOBAL, + "Set if shared libraries may be named like archives.", + "On AIX shared libraries may be named \"lib<name>.a\". " + "This property is set to true on such platforms."); + cm->DefineProperty ("FIND_LIBRARY_USE_LIB64_PATHS", cmProperty::GLOBAL, "Whether FIND_LIBRARY should automatically search lib64 directories.", |