mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user