Don't break Linux and OS X builds :(
This commit is contained in:
parent
a2b0941029
commit
b963ff7416
@ -177,33 +177,33 @@ QList<QString> JavaUtils::FindJavaPaths()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#elif OSX
|
#elif OSX
|
||||||
QList<JavaVersionPtr> JavaUtils::FindJavaPaths()
|
QList<QString> JavaUtils::FindJavaPaths()
|
||||||
{
|
{
|
||||||
QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\"";
|
QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\"";
|
||||||
|
|
||||||
QList<JavaVersionPtr> javas;
|
QList<QString> javas;
|
||||||
javas.append(this->GetDefaultJava());
|
javas.append(this->GetDefaultJava()->path);
|
||||||
|
|
||||||
return javas;
|
return javas;
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif LINUX
|
#elif LINUX
|
||||||
QList<JavaVersionPtr> JavaUtils::FindJavaPaths()
|
QList<QString> JavaUtils::FindJavaPaths()
|
||||||
{
|
{
|
||||||
QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\"";
|
QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\"";
|
||||||
|
|
||||||
QList<JavaVersionPtr> javas;
|
QList<QString> javas;
|
||||||
javas.append(this->GetDefaultJava());
|
javas.append(this->GetDefaultJava()->path);
|
||||||
|
|
||||||
return javas;
|
return javas;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
QList<JavaVersionPtr> JavaUtils::FindJavaPaths()
|
QList<QString> JavaUtils::FindJavaPaths()
|
||||||
{
|
{
|
||||||
QLOG_INFO() << "Unknown operating system build - defaulting to \"java\"";
|
QLOG_INFO() << "Unknown operating system build - defaulting to \"java\"";
|
||||||
|
|
||||||
QList<JavaVersionPtr> javas;
|
QList<QString> javas;
|
||||||
javas.append(this->GetDefaultJava());
|
javas.append(this->GetDefaultJava()->path);
|
||||||
|
|
||||||
return javas;
|
return javas;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user