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
Signed-off-by: Silvio Traversaro <[email protected]>
  • Loading branch information
traversaro authored Oct 3, 2024
1 parent a9af984 commit 22602b4
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 22602b4

Please sign in to comment.