Revision | 0a4e4b8df08abd6b4f1a142e170027b61532abb6 (tree) |
---|---|
Zeit | 2023-02-04 00:27:00 |
Autor | Fs <Fsu0413@vip....> |
Commiter | Fs |
judge before using mariadb step 5
@@ -780,8 +780,10 @@ conf.MariaDB.generateConfTable = function(self, host, job) | ||
780 | 780 | |
781 | 781 | hostToolchainVersion = compilerVer[hostToolchainVersionQueryFuncName](confHost.makefileTemplate == "win", hostToolchainVersionQueryPath, hostToolchainExecutableName) |
782 | 782 | |
783 | - for _, p in ipairs(confHost.cMakePath[confDetail.useCMake]) do | |
784 | - table.insert(ret.path, p) | |
783 | + if confHost.cMakePath and confHost.cMakePath.Latest then | |
784 | + for _, p in ipairs(confHost.cMakePath.Latest) do | |
785 | + table.insert(ret.path, p) | |
786 | + end | |
785 | 787 | end |
786 | 788 | |
787 | 789 | ret.buildContent = "MariaDB" |