mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
Ninja: Add friend struct so it can access the private ConvertToNinjaPath.
The HP aCC compiler is apparently more strict than all our other dashboard compilers with respect to complaining about this.
This commit is contained in:
@@ -95,6 +95,8 @@ private:
|
||||
|
||||
std::string ConvertToNinjaPath(const char *path);
|
||||
|
||||
struct map_to_ninja_path;
|
||||
friend struct map_to_ninja_path;
|
||||
struct map_to_ninja_path {
|
||||
cmLocalNinjaGenerator *LocalGenerator;
|
||||
map_to_ninja_path(cmLocalNinjaGenerator *LocalGen)
|
||||
|
||||
Reference in New Issue
Block a user