mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user