mirror of
https://github.com/love2d/megasource.git
synced 2026-08-20 04:30:45 +02:00
update OpenAL-Soft to 1.24.3.
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user