diff --git a/Source/cmake.cxx b/Source/cmake.cxx index b02518521..1f7a7464b 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1228,7 +1228,7 @@ int cmake::ExecuteCMakeCommand(std::vector& args) { cmSystemTools::Error("Directory does not exist for chdir command: ", args[2].c_str()); - return 0; + return 1; } std::string command = "\"";