mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
cmSystemTools: Drop unused CollapseCombinedPath method
All call sites have been converted to `CollapseFullPath`, so the now-unused `CollapseCombinedPath` can be removed. Fixes: #19050
This commit is contained in:
@@ -374,12 +374,6 @@ public:
|
||||
static std::string ForceToRelativePath(std::string const& local_path,
|
||||
std::string const& remote_path);
|
||||
|
||||
/** Joins two paths while collapsing x/../ parts
|
||||
* For example CollapseCombinedPath("a/b/c", "../../d") results in "a/d"
|
||||
*/
|
||||
static std::string CollapseCombinedPath(std::string const& dir,
|
||||
std::string const& file);
|
||||
|
||||
#ifdef CMAKE_BUILD_WITH_CMAKE
|
||||
/** Remove an environment variable */
|
||||
static bool UnsetEnv(const char* value);
|
||||
|
||||
Reference in New Issue
Block a user