1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Mono: Fix build with tools=no or target=release

This commit is contained in:
Ignacio Etcheverry
2017-10-18 08:27:18 +02:00
parent 6e6b455d1f
commit fb63ee52fb
2 changed files with 4 additions and 0 deletions

View File

@@ -51,6 +51,7 @@
#define CACHED_STRING_NAME(m_var) (CSharpLanguage::get_singleton()->get_string_names().m_var)
#ifdef TOOLS_ENABLED
static bool _create_project_solution_if_needed() {
String sln_path = GodotSharpDirs::get_project_sln_path();
@@ -65,6 +66,7 @@ static bool _create_project_solution_if_needed() {
return true;
}
#endif
CSharpLanguage *CSharpLanguage::singleton = NULL;