diff options
-rw-r--r-- | Source/cmake.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 79aae1a..6838d39 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -330,9 +330,10 @@ void cmake::SetArgs(const std::vector<std::string>& args) { // skip for now } - else if(arg.find("--script",0) == 0) + else if(arg.find("-P",0) == 0) { // skip for now + i++; } else if(arg.find("--debug-trycompile",0) == 0) { |