diff options
Diffstat (limited to 'xmake/core/project/cache.lua')
| -rw-r--r-- | xmake/core/project/cache.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/cache.lua b/xmake/core/project/cache.lua index 9a7491aed..5ea212dfc 100644 --- a/xmake/core/project/cache.lua +++ b/xmake/core/project/cache.lua @@ -67,7 +67,7 @@ function cache._instance(scopename) if results then instance._CACHEDATA = results end - instance._CACHEDATA = instance._CACHEDATA or {__version = xmake._VERSION} + instance._CACHEDATA = instance._CACHEDATA or {__version = xmake._VERSION_SHORT} -- save instance instances[scopename] = instance @@ -94,7 +94,7 @@ end function cache:clear() -- clear it - self._CACHEDATA = {__version = xmake._VERSION} + self._CACHEDATA = {__version = xmake._VERSION_SHORT} end -- flush to cache file |
