diff options
| author | ruki <[email protected]> | 2017-08-08 17:45:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-08-08 17:45:42 +0800 |
| commit | d0615e6499637a780cefe2d69f61cc1457929120 (patch) | |
| tree | 93f1c6006b11e3652796f9df38e5e935daabd889 | |
| parent | adcbe12dda8d281f805880c9baec3fd0960512f8 (diff) | |
add readonly for vs option
| -rw-r--r-- | xmake/platforms/windows/check.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/platforms/windows/check.lua b/xmake/platforms/windows/check.lua index 7385309d6..ebec9b837 100644 --- a/xmake/platforms/windows/check.lua +++ b/xmake/platforms/windows/check.lua @@ -97,7 +97,7 @@ function _check_vs(config) if vs then -- save it - config.set("vs", vs, {force = true}) + config.set("vs", vs, {readonly = true, force = true}) -- trace print("checking for the Microsoft Visual Studio (%s) version ... %s", config.get("arch"), vs) |
