BUG: fix CPack to use correct paths
This commit is contained in:
parent
826d238ebd
commit
f131463e3d
|
@ -325,7 +325,11 @@ int cmCPackGenericGenerator::InstallProject()
|
||||||
cmGlobalGenerator* globalGenerator
|
cmGlobalGenerator* globalGenerator
|
||||||
= this->MakefileMap->GetCMakeInstance()->CreateGlobalGenerator(
|
= this->MakefileMap->GetCMakeInstance()->CreateGlobalGenerator(
|
||||||
cmakeGenerator);
|
cmakeGenerator);
|
||||||
|
// set the global flag for unix style paths on cmSystemTools as
|
||||||
|
// soon as the generator is set. This allows gmake to be used
|
||||||
|
// on windows.
|
||||||
|
cmSystemTools::SetForceUnixPaths(globalGenerator->GetForceUnixPaths());
|
||||||
|
|
||||||
// Does this generator require pre-install?
|
// Does this generator require pre-install?
|
||||||
if ( globalGenerator->GetPreinstallTargetName() )
|
if ( globalGenerator->GetPreinstallTargetName() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue