diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-04-30 13:13:21 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-06-09 14:45:35 -0400 |
commit | 7492a7b8465d28c7f4377372153ef1e10ff336d5 (patch) | |
tree | 1509344bf434b6c75b67ecacad9ec5fe11bb9c2e /Source/cmComputeLinkInformation.cxx | |
parent | 3e7194a215aed5e34acf32ad4b8c6bd948beb15e (diff) | |
download | cmake-7492a7b8465d28c7f4377372153ef1e10ff336d5.tar.gz |
regex: Search on strings where possible
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-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 70f02d6878..0ce04a5d16 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) { |