BUG: Check for whether to add BUILD_TYPE to install rule should check for a . in the first character not the second.
This commit is contained in:
parent
b1b052fd23
commit
007421e19c
|
@ -1338,7 +1338,7 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
|
|||
cmd = cmakeCommand;
|
||||
}
|
||||
singleLine.push_back(cmd.c_str());
|
||||
if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[1] != '.' )
|
||||
if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.' )
|
||||
{
|
||||
std::string cfgArg = "-DBUILD_TYPE=";
|
||||
cfgArg += mf->GetDefinition("CMAKE_CFG_INTDIR");
|
||||
|
|
Loading…
Reference in New Issue