mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-09 10:00:12 -05:00
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:
@@ -123,7 +123,7 @@ public:
|
||||
|
||||
struct AllConfigSource
|
||||
{
|
||||
cmSourceFile const* Source;
|
||||
cmSourceFile* Source;
|
||||
cmGeneratorTarget::SourceKind Kind;
|
||||
std::vector<size_t> Configs;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user