final ports and first fixes
This commit is contained in:
1 parent
77690cbd96
commit
6f3556009a
23 files changed
+2302
-41
No files matched your search
@@ -47,6 +47,10 @@ namespace {
|
||||
// resolve the install-time default set up by CMakeLists.txt.
|
||||
QString getAiDir()
|
||||
{
|
||||
// The CEVO_AI_DIR environment variable overrides the install location (for running a build-tree binary).
|
||||
const QByteArray fromEnvironment = qgetenv("CEVO_AI_DIR");
|
||||
if (!fromEnvironment.isEmpty())
|
||||
return QString::fromLocal8Bit(fromEnvironment);
|
||||
#ifdef CEVO_AI_DIR
|
||||
return QStringLiteral(CEVO_AI_DIR);
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user