mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 15:38:52 -06:00
FindPackage: find_package(MODULE) respects CMAKE_FIND_DEBUG_MODE
Fixes #21216
This commit is contained in:
@@ -578,6 +578,11 @@ bool cmFindPackageCommand::InitialPass(std::vector<std::string> const& args)
|
||||
loadedPackage = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (this->DebugMode) {
|
||||
this->DebugMessage(this->DebugBuffer);
|
||||
this->DebugBuffer.clear();
|
||||
}
|
||||
}
|
||||
|
||||
this->AppendSuccessInformation();
|
||||
|
||||
Reference in New Issue
Block a user