diff options
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index b8beceac1..a519d1618 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -378,7 +378,7 @@ end function _is_in_vstudio() local is_in_vstudio = _g._IS_IN_VSTUDIO if is_in_vstudio == nil then - is_in_vstudio = os.getenv("XMAKE_IN_VSTUDIO") + is_in_vstudio = os.getenv("XMAKE_IN_VSTUDIO") or false _g._IS_IN_VSTUDIO = is_in_vstudio end return is_in_vstudio |
