summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-04-30 17:13:21 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-06-09 18:45:35 (GMT)
commit7492a7b8465d28c7f4377372153ef1e10ff336d5 (patch)
tree1509344bf434b6c75b67ecacad9ec5fe11bb9c2e /Source/cmComputeLinkInformation.cxx
parent3e7194a215aed5e34acf32ad4b8c6bd948beb15e (diff)
downloadCMake-7492a7b8465d28c7f4377372153ef1e10ff336d5.zip
CMake-7492a7b8465d28c7f4377372153ef1e10ff336d5.tar.gz
CMake-7492a7b8465d28c7f4377372153ef1e10ff336d5.tar.bz2
regex: Search on strings where possible
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index 70f02d6..0ce04a5 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -1811,7 +1811,7 @@ cmComputeLinkInformation::AddLibraryRuntimeInfo(std::string const& fullPath)
}
}
- is_shared_library = this->ExtractSharedLibraryName.find(file.c_str());
+ is_shared_library = this->ExtractSharedLibraryName.find(file);
if(!is_shared_library)
{