diff --git a/Source/cmIncludeDirectoryCommand.cxx b/Source/cmIncludeDirectoryCommand.cxx index edccc9b3dd..73f2e12530 100644 --- a/Source/cmIncludeDirectoryCommand.cxx +++ b/Source/cmIncludeDirectoryCommand.cxx @@ -98,7 +98,8 @@ void cmIncludeDirectoryCommand::AddDirectory(const char *i, } if (ret.size()-pos-1) { - this->AddDirectory(ret.substr(pos+1,ret.size()-pos-1).c_str(), before, system); + this->AddDirectory(ret.substr(pos+1,ret.size()-pos-1).c_str(), + before, system); } return; }