summaryrefslogtreecommitdiff
path: root/tests/csgtestcore.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-02-02 21:50:51 (GMT)
committerMarius Kintel <marius@kintel.net>2012-02-02 21:50:51 (GMT)
commit2def247b1b1307c1b236d22bbdc33d8bb9c102e3 (patch)
tree8f7514513f8bef84cc2076c1e4fb259545ddef70 /tests/csgtestcore.cc
parent5056de8d1ce8bd6247604ff6523cc4894ec7de4e (diff)
Minor refactor: use set/get_librarydir() to access global variable
Diffstat (limited to 'tests/csgtestcore.cc')
-rw-r--r--tests/csgtestcore.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc
index e89f4a6..b9f0d27 100644
--- a/tests/csgtestcore.cc
+++ b/tests/csgtestcore.cc
@@ -258,6 +258,7 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
std::string currentdir = boosty::stringy( fs::current_path() );
parser_init(QCoreApplication::instance()->applicationDirPath().toStdString());
+ set_librarydir(boosty::stringy(fs::path(QCoreApplication::instance()->applicationDirPath().toStdString()) / "../libraries"));
Context root_ctx;
register_builtin(root_ctx);
contact: Jan Huwald // Impressum