feat(util/lean_path.cpp): add "exe_path/../lib/lean" to LEAN_PATH
Related issue: #223
This commit is contained in:
parent
fc82857dc1
commit
e40ef9f6c5
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ void init_lean_path() {
|
||||||
std::string exe_path = get_path(get_exe_location());
|
std::string exe_path = get_path(get_exe_location());
|
||||||
*g_lean_path += g_path_sep;
|
*g_lean_path += g_path_sep;
|
||||||
*g_lean_path += exe_path + g_sep + ".." + g_sep + "library";
|
*g_lean_path += exe_path + g_sep + ".." + g_sep + "library";
|
||||||
|
*g_lean_path += g_path_sep;
|
||||||
|
*g_lean_path += exe_path + g_sep + ".." + g_sep + "lib" + g_sep + "lean";
|
||||||
} else {
|
} else {
|
||||||
*g_lean_path = r;
|
*g_lean_path = r;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue