mirror of
https://github.com/reactos/CMake.git
synced 2024-12-06 10:46:42 +00:00
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.
|
||||
location = this->GetDirectory();
|
||||
if(!location.empty())
|
||||
{
|
||||
location += "/";
|
||||
}
|
||||
const char* cfgid = this->Makefile->GetDefinition("CMAKE_CFG_INTDIR");
|
||||
if(cfgid && strcmp(cfgid, ".") != 0)
|
||||
{
|
||||
location += "/";
|
||||
location += cfgid;
|
||||
location += "/";
|
||||
}
|
||||
|
||||
if(this->IsAppBundleOnApple())
|
||||
|
Loading…
Reference in New Issue
Block a user