summaryrefslogtreecommitdiff
path: root/modules/mono/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-05 11:54:26 +0100
committerGitHub <noreply@github.com>2017-11-05 11:54:26 +0100
commit9a78efc7c270211e49fd7b2f071b61c706febffc (patch)
tree8e65a2bc51b1faa54ff11ace97395e1c121e77d6 /modules/mono/editor
parenta0ac0804ca34317faea1ee6dbc66037178b0f727 (diff)
parent8e2a756eb89d0bc0a32bcec4276d8518db9cb9e2 (diff)
Merge pull request #12642 from BrainBlasted/fix_msbuild_unix
Added fallback for msbuild.exe.
Diffstat (limited to 'modules/mono/editor')
-rw-r--r--modules/mono/editor/godotsharp_builds.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mono/editor/godotsharp_builds.cpp b/modules/mono/editor/godotsharp_builds.cpp
index dbe0cc294c..a26f36d64f 100644
--- a/modules/mono/editor/godotsharp_builds.cpp
+++ b/modules/mono/editor/godotsharp_builds.cpp
@@ -53,6 +53,10 @@ String _find_build_engine_on_unix(const String &p_name) {
if (ret.length())
return ret;
+ String ret_fallback = path_which(p_name + ".exe");
+ if (ret_fallback.length())
+ return ret_fallback;
+
const char *locations[] = {
#ifdef OSX_ENABLED
"/Library/Frameworks/Mono.framework/Versions/Current/bin/",