Skip to content

Commit

Permalink
Utils: added /usr/local to search paths
Browse files Browse the repository at this point in the history
  • Loading branch information
forthommel committed Feb 2, 2024
1 parent 5b9ec5b commit ba5cd99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CepGen/Utils/Environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ namespace cepgen {
fs::path() / "/usr" / "share" / "CepGen",
fs::current_path(),
fs::current_path().parent_path(),
fs::current_path().parent_path().parent_path()};
fs::current_path().parent_path().parent_path(),
fs::path() / "/usr" / "local",
fs::path() / "/usr" / "local" / "lib"};
}

void set(const std::string& var, const std::string& value) { setenv(var.c_str(), value.c_str(), 1); }
Expand Down

0 comments on commit ba5cd99

Please sign in to comment.