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

fix capitalisation on OpenAL's includes

parent 8b173ba3
No related branches found
No related tags found
No related merge requests found
...@@ -2,10 +2,10 @@ find_package( OpenAL CONFIG ) ...@@ -2,10 +2,10 @@ find_package( OpenAL CONFIG )
if ( NOT OpenAL_FOUND ) if ( NOT OpenAL_FOUND )
# ubuntu/debian openal-soft package doesn't seem to have a config file # ubuntu/debian openal-soft package doesn't seem to have a config file
# it's probably falling back to findOpenAL.cmake # it's probably falling back to findOpenAL.cmake
message( STATUS "Using OpenAL-Soft config missing - falling back" ) message( STATUS "OpenAL-Soft config missing - falling back" )
find_package( OpenAL REQUIRED ) find_package( OpenAL REQUIRED )
target_link_libraries( fggl public ${OPENAL_LIBRARY} ) target_link_libraries( fggl PUBLIC ${OPENAL_LIBRARY} )
target_include_directories( fggl public ${OPENAL_INCLUDE_DIR} ) target_include_directories( fggl PUBLIC ${OPENAL_INCLUDE_DIR} )
else() else()
# we're using target-based # we're using target-based
message( STATUS "Using OpenAL-Soft config file" ) message( STATUS "Using OpenAL-Soft config file" )
......
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