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:
parent
6d2f08b6e1
commit
b8bd0f80db
@ -963,6 +963,10 @@ cmLocalVisualStudio7Generator
|
|||||||
if(cmSystemTools::FileIsFullPath(dir.c_str()))
|
if(cmSystemTools::FileIsFullPath(dir.c_str()))
|
||||||
{
|
{
|
||||||
std::string rel = this->Convert(dir.c_str(), START_OUTPUT, UNCHANGED);
|
std::string rel = this->Convert(dir.c_str(), START_OUTPUT, UNCHANGED);
|
||||||
|
if(rel.empty())
|
||||||
|
{
|
||||||
|
rel = ".";
|
||||||
|
}
|
||||||
if(rel.size() < dir.size())
|
if(rel.size() < dir.size())
|
||||||
{
|
{
|
||||||
dir = rel;
|
dir = rel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user