فهرست منبع

BUG: cmSystemTools::CollapseFullPath is a bad thing to call on the compiler which is a filepath

Bill Hoffman 24 سال پیش
والد
کامیت
48febc4ed3
1فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  1. 0 5
      Source/cmSetCommand.cxx

+ 0 - 5
Source/cmSetCommand.cxx

@@ -126,11 +126,6 @@ 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)
     {