summaryrefslogtreecommitdiff
path: root/Source/cmOutputRequiredFilesCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-20 02:12:00 +0100
committerStephen Kelly <steveire@gmail.com>2013-11-21 20:53:15 +0100
commit4fe963f656c48b1f2fd0b4a2f427bb376f619c37 (patch)
treef04d63d59976dfa868873de1646664f57f59e2e2 /Source/cmOutputRequiredFilesCommand.cxx
parent7d4b2b2ef36c73c36eefd464fbb17bf34ebdb5fe (diff)
downloadcmake-4fe963f656c48b1f2fd0b4a2f427bb376f619c37.tar.gz
Use new cmHasLiteralPrefix function
Diffstat (limited to 'Source/cmOutputRequiredFilesCommand.cxx')
-rw-r--r--Source/cmOutputRequiredFilesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOutputRequiredFilesCommand.cxx b/Source/cmOutputRequiredFilesCommand.cxx
index 16b2beae9b..5de36ed09d 100644
--- a/Source/cmOutputRequiredFilesCommand.cxx
+++ b/Source/cmOutputRequiredFilesCommand.cxx
@@ -32,7 +32,7 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
std::string line;
while(cmSystemTools::GetLineFromStream(fin, line))
{
- if(!strncmp(line.c_str(), "#include", 8))
+ if(cmHasLiteralPrefix(line.c_str(), "#include"))
{
// if it is an include line then create a string class
std::string currentline = line;