Skip to content
Snippets Groups Projects
Commit aa8d462a authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

try to make sure that ubuntu's openal target works

parent 8c590ca6
No related branches found
No related tags found
No related merge requests found
find_package( OpenAL CONFIG REQUIRED )
target_link_libraries( fggl PUBLIC OpenAL::OpenAL )
find_package( OpenAL CONFIG )
if ( NOT OpenAL_FOUND )
# ubuntu openal-soft package doesn't seem to have a config file
find_package( OpenAL REQUIRED )
endif()
if ( TARGET OpenAL::OpenAL )
target_link_libraries( fggl PUBLIC OpenAL::OpenAL )
else()
target_link_libraries( fggl PUBLIC OpenAL )
endif()
target_sources(fggl
PRIVATE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment