diff options
author | Brad King <brad.king@kitware.com> | 2006-10-05 19:08:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-05 19:08:20 (GMT) |
commit | 7ad07e081110923483ae6b428c469a12408ef87d (patch) | |
tree | 6f369b445e6ada954464596c952dbae4c094fa6c /Source/cmOrderLinkDirectories.h | |
parent | 7e92f0b4e449057bff26579596ccd11ee8c3c7e3 (diff) | |
download | CMake-7ad07e081110923483ae6b428c469a12408ef87d.zip CMake-7ad07e081110923483ae6b428c469a12408ef87d.tar.gz CMake-7ad07e081110923483ae6b428c469a12408ef87d.tar.bz2 |
BUG: Fix link flags on cygwin shared libraries. This requires that the shared library prefix be supported in the link library regex.
Diffstat (limited to 'Source/cmOrderLinkDirectories.h')
-rw-r--r-- | Source/cmOrderLinkDirectories.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmOrderLinkDirectories.h b/Source/cmOrderLinkDirectories.h index 0da6e85..a3bc75a 100644 --- a/Source/cmOrderLinkDirectories.h +++ b/Source/cmOrderLinkDirectories.h @@ -83,11 +83,11 @@ public: } } // should be set from CMAKE_STATIC_LIBRARY_PREFIX - void SetLinkPrefix(const char* s) + void AddLinkPrefix(const char* s) { if(s) { - this->LinkPrefix = s; + this->LinkPrefixes.insert(s); } } // Return any warnings if the exist @@ -164,7 +164,7 @@ private: std::vector<cmStdString> SharedLinkExtensions; std::vector<cmStdString> LinkExtensions; // the names of link prefixes - cmStdString LinkPrefix; + std::set<cmStdString> LinkPrefixes; // set of directories that can not be put in the correct order std::set<cmStdString> ImpossibleDirectories; // Name of target |