diff options
| -rw-r--r-- | xmake/core/project/project.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index 831c603bf..fafc254bf 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -1091,7 +1091,12 @@ end -- get the mtimes function project.mtimes() - return project.interpreter():mtimes() + local mtimes = project._MTIMES + if not mtimes then + mtimes = project.interpreter():mtimes() + project._MTIMES = mtimes + end + return mtimes end -- get the project menu |
