cmake --workflow: Convert implementation to internal role

Previously it initialized as `PROJECT` but didn't actually add any
commands.  This was likely copied from the `--build` implementation,
which has since been converted to `INTERNAL` too.
This commit is contained in:
Brad King
2025-10-20 17:43:02 -04:00
parent ea5d04975e
commit bfaaec6179

View File

@@ -1065,7 +1065,7 @@ int do_workflow(int ac, char const* const* av)
return 1;
}
cmake cm(cmake::CommandSet::None, cmState::Role::Project);
cmake cm(cmake::CommandSet::None, cmState::Role::Internal);
cmSystemTools::SetMessageCallback(
[&cm](std::string const& msg, cmMessageMetadata const& md) {
cmakemainMessageCallback(msg, md, &cm);