diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-01-06 12:52:53 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-01-09 10:35:00 (GMT) |
commit | 8ec7408d745a9e17a1e35a4e97e9ab33044832c9 (patch) | |
tree | 7eecc261db167be34f52ce087e61dc3e38e1167b /Source/cmGccDepfileReader.h | |
parent | ce874fbcd6350225ce854a984efd34caf78c3e0f (diff) | |
download | CMake-8ec7408d745a9e17a1e35a4e97e9ab33044832c9.zip CMake-8ec7408d745a9e17a1e35a4e97e9ab33044832c9.tar.gz CMake-8ec7408d745a9e17a1e35a4e97e9ab33044832c9.tar.bz2 |
Makefile dependencies: ensure long paths are used on Windows
Diffstat (limited to 'Source/cmGccDepfileReader.h')
-rw-r--r-- | Source/cmGccDepfileReader.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmGccDepfileReader.h b/Source/cmGccDepfileReader.h index 66ff75d..c8a3748 100644 --- a/Source/cmGccDepfileReader.h +++ b/Source/cmGccDepfileReader.h @@ -8,10 +8,8 @@ #include "cmGccDepfileReaderTypes.h" -cm::optional<cmGccDepfileContent> cmReadGccDepfile(const char* filePath); - /* * Read dependencies file and append prefix to all relative paths */ -cm::optional<cmGccDepfileContent> cmReadGccDepfile(const char* filePath, - const std::string& prefix); +cm::optional<cmGccDepfileContent> cmReadGccDepfile( + const char* filePath, const std::string& prefix = {}); |