Skip to content
Snippets Groups Projects
Commit 20ae76b1 authored by Brad King's avatar Brad King
Browse files

cmDisallowedCommand: Forward final pass too

Refactoring in commit 7fb14775 (cmDisallowedCommand: extract policy
checking from cmCommand, 2016-12-26) introduced a wrapper for
disallowed commands that forwards to their original commands.
This broke the `export_library_dependencies` command that uses
a final pass.  Forward the final pass too to fix it.
parent e0f39312
No related merge requests found
......@@ -34,6 +34,13 @@ public:
bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus& status) CM_OVERRIDE;
void FinalPass() CM_OVERRIDE { this->Command->FinalPass(); }
bool HasFinalPass() const CM_OVERRIDE
{
return this->Command->HasFinalPass();
}
bool IsScriptable() const CM_OVERRIDE
{
return this->Command->IsScriptable();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment