Skip to content

Commit

Permalink
Fix running rendering tests in GZ_ENABLE_RELOCATABLE_INSTALL is ON (#…
Browse files Browse the repository at this point in the history
…1073)

Signed-off-by: Silvio Traversaro <silvio@traversaro.it>
  • Loading branch information
traversaro authored Oct 9, 2024
1 parent a9af984 commit 589f6f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/gz_rendering_test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ macro(gz_configure_rendering_test)
APPEND PROPERTY
ENVIRONMENT "GZ_ENGINE_BACKEND=${gz_configure_rendering_test_RENDER_ENGINE_BACKEND}")

set_property(
TEST ${test_name}
APPEND PROPERTY
ENVIRONMENT "GZ_RENDERING_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}")

if(gz_configure_rendering_test_HEADLESS)
set_property(
TEST ${test_name}
Expand Down

0 comments on commit 589f6f6

Please sign in to comment.