Build: Set environment variables for plugin test
I accidentally removed the argument in commit
@@ -167,7 +167,8 @@ function (add_plugintest testname)
WORKING_DIRECTORY "${WORKING_DIRECTORY}")
set_property (TEST ${testexename}
PROPERTY ENVIRONMENT
- "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib")
+ "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib"
+ "${ARG_ENVIRONMENT}")
if (ARG_MEMLEAK)
set_property (TEST ${testexename}
