diff options
author | David Cole <david.cole@kitware.com> | 2010-11-23 21:11:43 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-11-23 21:11:43 (GMT) |
commit | 0a5600af2d8467f83eb2f5559c10e5d7776e2ba8 (patch) | |
tree | 3c20b5264d38648623b2a35ce00aef56ada9ce10 /Source | |
parent | fcea494787f9a001fef06cc4710dd24c233c7980 (diff) | |
parent | 5fe3ac86ee1702d957621c2054507eed2c393c6f (diff) | |
download | CMake-0a5600af2d8467f83eb2f5559c10e5d7776e2ba8.zip CMake-0a5600af2d8467f83eb2f5559c10e5d7776e2ba8.tar.gz CMake-0a5600af2d8467f83eb2f5559c10e5d7776e2ba8.tar.bz2 |
Merge topic 'link-library-parse-regex'
5fe3ac8 Prefer non-empty prefixes when matching lib names (#11468)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmComputeLinkInformation.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index 1cabed2..d53200c 100644 --- a/Source/cmComputeLinkInformation.cxx +++ b/Source/cmComputeLinkInformation.cxx @@ -923,7 +923,7 @@ void cmComputeLinkInformation::ComputeItemParserInfo() //---------------------------------------------------------------------------- void cmComputeLinkInformation::AddLinkPrefix(const char* p) { - if(p) + if(p && *p) { this->LinkPrefixes.insert(p); } |