diff --git a/scripting/python_manager.cpp b/scripting/python_manager.cpp index 774f72a582..fffc5ac40c 100644 --- a/scripting/python_manager.cpp +++ b/scripting/python_manager.cpp @@ -120,6 +120,8 @@ wxString PYTHON_MANAGER::FindPythonInterpreter() if( pythonExe.IsFileExecutable() ) return pythonExe.GetFullPath(); +#else + wxFileName pythonExe; #endif // In case one is forced with cmake