summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharles seizilles <[email protected]>2022-09-06 17:23:37 +0200
committercharles seizilles <[email protected]>2022-09-06 17:23:37 +0200
commit2c84d9fdfff81222e5d1bf78f9a70e7456dbd99a (patch)
tree6993c5eaad47d0828f3fbd495c767c47c7c34250
parent07ccbc27512d781663eb2529bd5853c8acbf4bc9 (diff)
Fix matlab.lua
-rw-r--r--xmake/modules/detect/sdks/matlab.lua10
1 files changed, 2 insertions, 8 deletions
diff --git a/xmake/modules/detect/sdks/matlab.lua b/xmake/modules/detect/sdks/matlab.lua
index 0f748d81f..1a654d633 100644
--- a/xmake/modules/detect/sdks/matlab.lua
+++ b/xmake/modules/detect/sdks/matlab.lua
@@ -18,11 +18,8 @@
-- @file matlab.lua
--
--- define module
-local matlab = matlab or {}
-
-- get matlab versions
-function matlab.versions()
+function versions()
-- see https://www.mathworks.com/products/compiler/matlab-runtime.html
return
@@ -53,7 +50,7 @@ function matlab.versions()
end
-- get matlab versions names
-function matlab.versions_names()
+function versions_names()
return
{
@@ -81,6 +78,3 @@ function matlab.versions_names()
, r2012a = "7.17"
}
end
-
--- return module
-return matlab