mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
If the value is a path, collapse it (cleaner)
This commit is contained in:
@@ -126,6 +126,11 @@ bool cmSetCommand::InitialPass(std::vector<std::string>& args)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// if value is a path, collapse it (cleaner)
|
||||
if (type == cmCacheManager::PATH || type == cmCacheManager::FILEPATH)
|
||||
{
|
||||
value = cmSystemTools::CollapseFullPath(value.c_str());
|
||||
}
|
||||
// if it is meant to be in the cache then define it in the cache
|
||||
if(cache)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user