update openal

This commit is contained in:
AzaezelX 2024-06-30 14:35:57 -05:00
parent 62f3b93ff9
commit 6721a6b021
287 changed files with 33851 additions and 27325 deletions

View file

@ -2,8 +2,9 @@
# Find the OpenSL libraries
#
# This module defines the following variables and targets:
# OPENSL_FOUND - True if OPENSL was found
# OpenSL::OpenSLES - The OpenSLES target
# OPENSL_FOUND - True if OPENSL was found
# OPENSL_INCLUDE_DIRS - The OpenSL include paths
# OPENSL_LIBRARIES - The OpenSL libraries to link
#
#=============================================================================
@ -53,11 +54,8 @@ find_package_handle_standard_args(OpenSL REQUIRED_VARS OPENSL_LIBRARY OPENSL_INC
OPENSL_ANDROID_INCLUDE_DIR)
if(OPENSL_FOUND)
add_library(OpenSL::OpenSLES UNKNOWN IMPORTED)
set_target_properties(OpenSL::OpenSLES PROPERTIES
IMPORTED_LOCATION ${OPENSL_LIBRARY}
INTERFACE_INCLUDE_DIRECTORIES ${OPENSL_INCLUDE_DIR}
INTERFACE_INCLUDE_DIRECTORIES ${OPENSL_ANDROID_INCLUDE_DIR})
set(OPENSL_LIBRARIES ${OPENSL_LIBRARY})
set(OPENSL_INCLUDE_DIRS ${OPENSL_INCLUDE_DIR} ${OPENSL_ANDROID_INCLUDE_DIR})
endif()
mark_as_advanced(OPENSL_INCLUDE_DIR OPENSL_ANDROID_INCLUDE_DIR OPENSL_LIBRARY)

View file

@ -0,0 +1,31 @@
# - Find SndIO includes and libraries
#
# SNDIO_FOUND - True if SNDIO_INCLUDE_DIR & SNDIO_LIBRARY are found
# SNDIO_LIBRARIES - Set when SNDIO_LIBRARY is found
# SNDIO_INCLUDE_DIRS - Set when SNDIO_INCLUDE_DIR is found
#
# SNDIO_INCLUDE_DIR - where to find sndio.h, etc.
# SNDIO_LIBRARY - the sndio library
#
find_path(SNDIO_INCLUDE_DIR
NAMES sndio.h
DOC "The SndIO include directory"
)
find_library(SNDIO_LIBRARY
NAMES sndio
DOC "The SndIO library"
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SndIO
REQUIRED_VARS SNDIO_LIBRARY SNDIO_INCLUDE_DIR
)
if(SNDIO_FOUND)
set(SNDIO_LIBRARIES ${SNDIO_LIBRARY})
set(SNDIO_INCLUDE_DIRS ${SNDIO_INCLUDE_DIR})
endif()
mark_as_advanced(SNDIO_INCLUDE_DIR SNDIO_LIBRARY)

View file

@ -1,32 +0,0 @@
# - Find SoundIO (sndio) includes and libraries
#
# SOUNDIO_FOUND - True if SOUNDIO_INCLUDE_DIR & SOUNDIO_LIBRARY are
# found
# SOUNDIO_LIBRARIES - Set when SOUNDIO_LIBRARY is found
# SOUNDIO_INCLUDE_DIRS - Set when SOUNDIO_INCLUDE_DIR is found
#
# SOUNDIO_INCLUDE_DIR - where to find sndio.h, etc.
# SOUNDIO_LIBRARY - the sndio library
#
find_path(SOUNDIO_INCLUDE_DIR
NAMES sndio.h
DOC "The SoundIO include directory"
)
find_library(SOUNDIO_LIBRARY
NAMES sndio
DOC "The SoundIO library"
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SoundIO
REQUIRED_VARS SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR
)
if(SOUNDIO_FOUND)
set(SOUNDIO_LIBRARIES ${SOUNDIO_LIBRARY})
set(SOUNDIO_INCLUDE_DIRS ${SOUNDIO_INCLUDE_DIR})
endif()
mark_as_advanced(SOUNDIO_INCLUDE_DIR SOUNDIO_LIBRARY)