Skip to content

Commit

Permalink
Fix missing link to OpenAL in gazebo_util library (#2941)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Mar 25, 2021
1 parent 6597392 commit 0b78ec1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gazebo/util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ target_link_libraries(gazebo_util
${IGNITION-MSGS_LIBRARIES}
)

if (HAVE_OPENAL)
target_link_libraries(gazebo_util ${OPENAL_LIBRARY})
endif()

# define if tinxml2 major version >= 6
# https://github.com/ignitionrobotics/ign-common/issues/28
if (NOT tinyxml2_VERSION VERSION_LESS "6.0.0")
Expand Down

0 comments on commit 0b78ec1

Please sign in to comment.