diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-06 01:32:41 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-06 01:32:41 +0200 |
commit | e82b2def8e8eabe7c1be37743bd8f0f7bd671763 (patch) | |
tree | f5feb6f56d75d8343d7ffc9ec3b41fd62a474be6 /modules/mono/utils | |
parent | 7ca9863079c2c033e5dd550e0ab989c8593352cc (diff) |
Mono: Buildsystem support for finding MSBuild from VS2019
Diffstat (limited to 'modules/mono/utils')
-rw-r--r-- | modules/mono/utils/mono_reg_utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mono/utils/mono_reg_utils.cpp b/modules/mono/utils/mono_reg_utils.cpp index d7f9b22c31..98aeadc8c8 100644 --- a/modules/mono/utils/mono_reg_utils.cpp +++ b/modules/mono/utils/mono_reg_utils.cpp @@ -202,9 +202,9 @@ String find_msbuild_tools_path() { } // Since VS2019, the directory is simply named "Current" - String msBuildDirectory = val + "MSBuild\\Current\\Bin"; - if (DirAccess::exists(msBuildDirectory)) { - return msBuildDirectory; + String msbuild_dir = val + "MSBuild\\Current\\Bin"; + if (DirAccess::exists(msbuild_dir)) { + return msbuild_dir; } // Directory name "15.0" is used in VS 2017 |