Skip to content

Commit e23d62e

Browse files
committed
Update for cmake 4.3.
1 parent 2667047 commit e23d62e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/sw/driver/frontend/cmake/cmake.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ void CmakeTargetEntryPoint::init() const
237237
override_command(name, [](std::vector<std::string> const &, cmExecutionStatus &){return true;});
238238
};
239239

240-
cm = std::make_unique<cmake>(cmake::RoleProject, cmState::Mode::Project);
240+
cm = std::make_unique<cmake>(cmState::Role::Project
241+
//, cmState::Mode::Project
242+
);
241243
cm->SetHomeDirectory(to_string(normalize_path(rootfn.parent_path())));
242244
auto bdir = rootfn.parent_path() / ".sw" / "cmake";
243245
cm->SetHomeOutputDirectory(to_string(normalize_path(bdir)));

0 commit comments

Comments
 (0)