diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-16 03:18:25 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-16 03:18:25 (GMT) |
commit | b659d161da3c488890e32fbb1acf1295186d3c4f (patch) | |
tree | 8040267cd45e39fcc0f70480eac8f5328c0e2c8d /Source/CPack/cpack.cxx | |
parent | 2e4ea0c055e01e10c8f459398f943b1b62c5c7bb (diff) | |
download | CMake-b659d161da3c488890e32fbb1acf1295186d3c4f.zip CMake-b659d161da3c488890e32fbb1acf1295186d3c4f.tar.gz CMake-b659d161da3c488890e32fbb1acf1295186d3c4f.tar.bz2 |
cmGlobalGenerator: Add NVI wrapper to create local generator.
Diffstat (limited to 'Source/CPack/cpack.cxx')
-rw-r--r-- | Source/CPack/cpack.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 2207873..29484cf 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -201,7 +201,7 @@ int main (int argc, char const* const* argv) cminst.GetState()->RemoveUnscriptableCommands(); cmGlobalGenerator cmgg; cmgg.SetCMakeInstance(&cminst); - cmsys::auto_ptr<cmLocalGenerator> cmlg(cmgg.CreateLocalGenerator()); + cmsys::auto_ptr<cmLocalGenerator> cmlg(cmgg.MakeLocalGenerator()); cmMakefile* globalMF = cmlg->GetMakefile(); #if defined(__CYGWIN__) globalMF->AddDefinition("CMAKE_LEGACY_CYGWIN_WIN32", "0"); |