mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
Fix building on NMake. Use short paths
This commit is contained in:
@@ -547,7 +547,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
|
||||
std::string dir, file;
|
||||
cmSystemTools::SplitProgramPath(lib->first.c_str(),
|
||||
dir, file);
|
||||
std::string libpath = cmSystemTools::ConvertToOutputPath(dir.c_str());
|
||||
std::string libpath = this->ConvertToOutputForExisting(dir.c_str());
|
||||
if(emitted.insert(libpath).second)
|
||||
{
|
||||
linkLibs += libPathFlag;
|
||||
|
||||
Reference in New Issue
Block a user