mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03: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:
1 parent
e0f3931226
commit
20ae76b1da
1 file changed
+7
@@ -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