mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
BUG: When the current output directory is a link directory we need to reference it with the relative path "." instead of an empty relative path.
This commit is contained in:
@@ -963,6 +963,10 @@ cmLocalVisualStudio7Generator
|
||||
if(cmSystemTools::FileIsFullPath(dir.c_str()))
|
||||
{
|
||||
std::string rel = this->Convert(dir.c_str(), START_OUTPUT, UNCHANGED);
|
||||
if(rel.empty())
|
||||
{
|
||||
rel = ".";
|
||||
}
|
||||
if(rel.size() < dir.size())
|
||||
{
|
||||
dir = rel;
|
||||
|
||||
Reference in New Issue
Block a user