diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 8cc6f7a858..1202835d25 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -748,7 +748,7 @@ int cmake::CMakeCommand(std::vector& args) result = 1; } } - return 0; + return result; } #if defined(_WIN32) && !defined(__CYGWIN__)