Use MixMatrixRow to upsample the split frequency bands to the output
[openal-soft.git] / cmake / FindQSA.cmake
blob0ad1fd43893f0dbd6b5935b9f8b17994a9570c4e
1 # - Find QSA includes and libraries
3 #   QSA_FOUND        - True if QSA_INCLUDE_DIR & QSA_LIBRARY are found
4 #   QSA_LIBRARIES    - Set when QSA_LIBRARY is found
5 #   QSA_INCLUDE_DIRS - Set when QSA_INCLUDE_DIR is found
7 #   QSA_INCLUDE_DIR - where to find sys/asoundlib.h, etc.
8 #   QSA_LIBRARY     - the asound library
11 # Only check for QSA on QNX, because it conflicts with ALSA.
12 if("${CMAKE_C_PLATFORM_ID}" STREQUAL "QNX")
13     find_path(QSA_INCLUDE_DIR
14               NAMES sys/asoundlib.h
15               DOC "The QSA include directory"
16     )
18     find_library(QSA_LIBRARY
19                  NAMES asound
20                  DOC "The QSA library"
21     )
22 endif()
24 include(FindPackageHandleStandardArgs)
25 find_package_handle_standard_args(QSA
26     REQUIRED_VARS QSA_LIBRARY QSA_INCLUDE_DIR
29 if(QSA_FOUND)
30     set(QSA_LIBRARIES ${QSA_LIBRARY})
31     set(QSA_INCLUDE_DIRS ${QSA_INCLUDE_DIR})
32 endif()
34 mark_as_advanced(QSA_INCLUDE_DIR QSA_LIBRARY)