cmGeneratorTarget: Make GetIncludeDirectories const.
This commit is contained in:
parent
1da77bf1ee
commit
0f876439e9
|
@ -611,8 +611,8 @@ const char* cmGeneratorTarget::GetCreateRuleVariable() const
|
|||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
std::vector<std::string> cmGeneratorTarget::GetIncludeDirectories(
|
||||
const char *config)
|
||||
std::vector<std::string>
|
||||
cmGeneratorTarget::GetIncludeDirectories(const char *config) const
|
||||
{
|
||||
return this->Target->GetIncludeDirectories(config);
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ public:
|
|||
const char* GetCreateRuleVariable() const;
|
||||
|
||||
/** Get the include directories for this target. */
|
||||
std::vector<std::string> GetIncludeDirectories(const char *config);
|
||||
std::vector<std::string> GetIncludeDirectories(const char *config) const;
|
||||
|
||||
bool IsSystemIncludeDirectory(const char *dir, const char *config) const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue