diff options
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 932aab9..829d907 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -184,7 +184,9 @@ int do_cmake(int ac, char** av) { wiz = true; } - else if (strcmp(av[i], "-E") == 0) + // if command has already been set, then + // do not eat the -E + else if (!command && strcmp(av[i], "-E") == 0) { command = true; } |