summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-01-17 18:38:27 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:28 (GMT)
commit381d50c149183183378b446fd789b1bd18c7524c (patch)
tree41f13826232b6b3650df64ef564a9a18d2a21479 /Source/cmTarget.cxx
parent3742bb0d324b971f63cc7e557b1cb8a9d08c5cdd (diff)
downloadCMake-381d50c149183183378b446fd789b1bd18c7524c.zip
CMake-381d50c149183183378b446fd789b1bd18c7524c.tar.gz
CMake-381d50c149183183378b446fd789b1bd18c7524c.tar.bz2
stringapi: Accept strings in cmStrCmp
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index fc2ab25..d5cd140 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -1314,7 +1314,7 @@ static bool whiteListedInterfaceProperty(const std::string& prop)
if (std::binary_search(cmArrayBegin(builtIns),
cmArrayEnd(builtIns),
prop.c_str(),
- cmStrCmp(prop.c_str())))
+ cmStrCmp(prop)))
{
return true;
}