Merge topic 'fix-LOCATION-slashes'
92b2c618 Remove extra slashes from LOCATION target property value
This commit is contained in:
commit
e6a7abd2b6
@ -2769,16 +2769,11 @@ const char* cmTarget::GetLocationForBuild() const
|
|||||||
|
|
||||||
// Now handle the deprecated build-time configuration location.
|
// Now handle the deprecated build-time configuration location.
|
||||||
location = this->GetDirectory();
|
location = this->GetDirectory();
|
||||||
if(!location.empty())
|
|
||||||
{
|
|
||||||
location += "/";
|
|
||||||
}
|
|
||||||
const char* cfgid = this->Makefile->GetDefinition("CMAKE_CFG_INTDIR");
|
const char* cfgid = this->Makefile->GetDefinition("CMAKE_CFG_INTDIR");
|
||||||
if(cfgid && strcmp(cfgid, ".") != 0)
|
if(cfgid && strcmp(cfgid, ".") != 0)
|
||||||
{
|
{
|
||||||
location += "/";
|
location += "/";
|
||||||
location += cfgid;
|
location += cfgid;
|
||||||
location += "/";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this->IsAppBundleOnApple())
|
if(this->IsAppBundleOnApple())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user