Update OpenAL-soft to 1.23.1-bc7cb17.

This commit is contained in:
Miku AuahDark
2024-03-20 11:06:03 +08:00
parent 4a512be715
commit 73a6fc9196
294 changed files with 44342 additions and 40077 deletions
+5 -7
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)