Skip to content

Commit 31a2423

Browse files
nkoenigNate Koenig
and
Nate Koenig
authored
Fix gz_TEST paths (#1675)
Signed-off-by: Nate Koenig <[email protected]> Signed-off-by: Nate Koenig <[email protected]> Co-authored-by: Nate Koenig <[email protected]>
1 parent 6be61c8 commit 31a2423

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gz_TEST.cc

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ static const std::string kGzModelCommand(
3737
/////////////////////////////////////////////////
3838
std::string customExecStr(std::string _cmd)
3939
{
40+
// Augment the system plugin path.
41+
gz::common::setenv("GZ_SIM_SYSTEM_PLUGIN_PATH",
42+
gz::common::joinPaths(std::string(PROJECT_BINARY_PATH), "lib").c_str());
43+
4044
_cmd += " 2>&1";
4145
FILE *pipe = popen(_cmd.c_str(), "r");
4246

0 commit comments

Comments
 (0)