mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 00:26:18 +00:00
Merge topic 'recognize-versioned-shared-libraries'
5cbf3653
cmComputeLinkInformation: Better RPATH detection for versioned libraries.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1682
This commit is contained in:
commit
9c52b587b6
@ -913,11 +913,9 @@ std::string cmComputeLinkInformation::CreateExtensionRegex(
|
||||
// Finish the list.
|
||||
libext += ")";
|
||||
|
||||
// Add an optional OpenBSD version component.
|
||||
if (this->OpenBSD) {
|
||||
libext += "(\\.[0-9]+\\.[0-9]+)?";
|
||||
} else if (type == LinkShared) {
|
||||
libext += "(\\.[0-9]+)?";
|
||||
// Add an optional OpenBSD-style version or major.minor.version component.
|
||||
if (this->OpenBSD || type == LinkShared) {
|
||||
libext += "(\\.[0-9]+)*";
|
||||
}
|
||||
|
||||
libext += "$";
|
||||
|
Loading…
Reference in New Issue
Block a user