cmGeneratorTarget: Return non-const sources from GetAllConfigSources

We need a non-const pointer to `cmSourceFile` instances in order to
call `GetOrDetermineLanguage` on them.
This commit is contained in:
Brad King
2019-10-02 13:48:37 -04:00
parent f6dac38c11
commit fd2c9fac10
2 changed files with 2 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ public:
struct AllConfigSource
{
cmSourceFile const* Source;
cmSourceFile* Source;
cmGeneratorTarget::SourceKind Kind;
std::vector<size_t> Configs;
};