Update ChangeLog
[openal-soft.git] / cmake / FindAudioIO.cmake
blobf0f8b2a59aff1f6e9987ef5d80f70da0b4008016
1 # - Find AudioIO includes and libraries
3 #   AUDIOIO_FOUND        - True if AUDIOIO_INCLUDE_DIR is found
4 #   AUDIOIO_INCLUDE_DIRS - Set when AUDIOIO_INCLUDE_DIR is found
6 #   AUDIOIO_INCLUDE_DIR - where to find sys/audioio.h, etc.
9 find_path(AUDIOIO_INCLUDE_DIR
10           NAMES sys/audioio.h
11           DOC "The AudioIO include directory"
14 include(FindPackageHandleStandardArgs)
15 find_package_handle_standard_args(AudioIO  REQUIRED_VARS AUDIOIO_INCLUDE_DIR)
17 if(AUDIOIO_FOUND)
18     set(AUDIOIO_INCLUDE_DIRS ${AUDIOIO_INCLUDE_DIR})
19 endif()
21 mark_as_advanced(AUDIOIO_INCLUDE_DIR)