Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 0b78ec1

Browse files
authored
Fix missing link to OpenAL in gazebo_util library (#2941)
1 parent 6597392 commit 0b78ec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gazebo/util/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ target_link_libraries(gazebo_util
8585
${IGNITION-MSGS_LIBRARIES}
8686
)
8787

88+
if (HAVE_OPENAL)
89+
target_link_libraries(gazebo_util ${OPENAL_LIBRARY})
90+
endif()
91+
8892
# define if tinxml2 major version >= 6
8993
# https://github.com/ignitionrobotics/ign-common/issues/28
9094
if (NOT tinyxml2_VERSION VERSION_LESS "6.0.0")

0 commit comments

Comments
 (0)