1 # - Find SndIO includes and libraries
3 # SNDIO_FOUND - True if SNDIO_INCLUDE_DIR & SNDIO_LIBRARY are found
4 # SNDIO_LIBRARIES - Set when SNDIO_LIBRARY is found
5 # SNDIO_INCLUDE_DIRS - Set when SNDIO_INCLUDE_DIR is found
7 # SNDIO_INCLUDE_DIR - where to find sndio.h, etc.
8 # SNDIO_LIBRARY - the sndio library
11 find_path(SNDIO_INCLUDE_DIR
13 DOC "The SndIO include directory"
16 find_library(SNDIO_LIBRARY
18 DOC "The SndIO library"
21 include(FindPackageHandleStandardArgs)
22 find_package_handle_standard_args(SndIO
23 REQUIRED_VARS SNDIO_LIBRARY SNDIO_INCLUDE_DIR
27 set(SNDIO_LIBRARIES ${SNDIO_LIBRARY})
28 set(SNDIO_INCLUDE_DIRS ${SNDIO_INCLUDE_DIR})
31 mark_as_advanced(SNDIO_INCLUDE_DIR SNDIO_LIBRARY)