diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-02-28 07:17:50 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2022-02-28 22:28:22 (GMT) |
commit | 3354d52e3d875e897e9bc8222c7d19ac484f23e8 (patch) | |
tree | 178d43cca803c2e9261445f8b583c2954496bea9 /Source/cmFindPathCommand.h | |
parent | 07a7772968a17e804fc7c450a0a3a00a7203410d (diff) | |
download | CMake-3354d52e3d875e897e9bc8222c7d19ac484f23e8.zip CMake-3354d52e3d875e897e9bc8222c7d19ac484f23e8.tar.gz CMake-3354d52e3d875e897e9bc8222c7d19ac484f23e8.tar.bz2 |
find_file: Fix blank line instead of framework path in debug output
There's no point printing a blank line if FindHeaderInFramework()
returns an empty string. Pass in the debug object to that function
instead so it can record the actual paths it tests in the debug output
directly.
Diffstat (limited to 'Source/cmFindPathCommand.h')
-rw-r--r-- | Source/cmFindPathCommand.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFindPathCommand.h b/Source/cmFindPathCommand.h index c7281f1..a7746f6 100644 --- a/Source/cmFindPathCommand.h +++ b/Source/cmFindPathCommand.h @@ -30,7 +30,8 @@ public: private: std::string FindHeaderInFramework(std::string const& file, - std::string const& dir) const; + std::string const& dir, + cmFindBaseDebugState& debug) const; std::string FindHeader(); std::string FindNormalHeader(cmFindBaseDebugState& debug); std::string FindFrameworkHeader(cmFindBaseDebugState& debug); |