浏览代码

BUG: cmake_symlink_library should return the accumulated result, not just 0.

Brad King 22 年之前
父节点
当前提交
ffd8ca9cd9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmake.cxx

+ 1 - 1
Source/cmake.cxx

@@ -748,7 +748,7 @@ int cmake::CMakeCommand(std::vector<std::string>& args)
           result = 1;
           result = 1;
           }
           }
         }
         }
-      return 0;
+      return result;
       }
       }
 
 
 #if defined(_WIN32) && !defined(__CYGWIN__)
 #if defined(_WIN32) && !defined(__CYGWIN__)