diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-05 17:58:36 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-05 17:59:23 (GMT) |
commit | 94cc4e74aec3bc76e94a426d94cd1015c8a9749e (patch) | |
tree | 8622e4d00883097135eeb692481340e2d2d40ce6 /Source/CPack/cmCPackGenerator.cxx | |
parent | f2791da132a42cb71384065b340ae212679fc336 (diff) | |
download | CMake-94cc4e74aec3bc76e94a426d94cd1015c8a9749e.zip CMake-94cc4e74aec3bc76e94a426d94cd1015c8a9749e.tar.gz CMake-94cc4e74aec3bc76e94a426d94cd1015c8a9749e.tar.bz2 |
CPack: Remove needless cmLocalGenerator creation.
Diffstat (limited to 'Source/CPack/cmCPackGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index def9fc7..2f69c25 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -16,7 +16,6 @@ #include "cmCPackLog.h" #include "cmake.h" #include "cmGlobalGenerator.h" -#include "cmLocalGenerator.h" #include "cmGeneratedFileStream.h" #include "cmCPackComponentGroup.h" #include "cmXMLSafe.h" @@ -723,8 +722,6 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects( cmGlobalGenerator gg(&cm); cmsys::auto_ptr<cmMakefile> mf( new cmMakefile(&gg, cm.GetCurrentSnapshot())); - cmsys::auto_ptr<cmLocalGenerator> lg( - gg.CreateLocalGenerator(mf.get())); std::string realInstallDirectory = tempInstallDirectory; if ( !installSubDirectory.empty() && installSubDirectory != "/" ) { |