diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-25 01:13:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-25 01:13:29 (GMT) |
commit | 5d62c5073226cbeb229a49e80337870b7c8dd67e (patch) | |
tree | 5726f725ed4105ea12f73ed9270734c76c964171 /Source/cmakemain.cxx | |
parent | 254d267e36f20b3df1f1f87b2b9161aa19e6a83b (diff) | |
download | CMake-5d62c5073226cbeb229a49e80337870b7c8dd67e.zip CMake-5d62c5073226cbeb229a49e80337870b7c8dd67e.tar.gz CMake-5d62c5073226cbeb229a49e80337870b7c8dd67e.tar.bz2 |
Fix for bug #9965 -i was not passed to -E commands.
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 766eead..ddff71d 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -423,7 +423,7 @@ int do_cmake(int ac, char** av) std::vector<std::string> args; for(int i =0; i < ac; ++i) { - if(strcmp(av[i], "-i") == 0) + if(!command && strcmp(av[i], "-i") == 0) { wiz = true; } |