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
15 DOC "The QSA include directory"
18 find_library(QSA_LIBRARY
24 include(FindPackageHandleStandardArgs)
25 find_package_handle_standard_args(QSA
26 REQUIRED_VARS QSA_LIBRARY QSA_INCLUDE_DIR
30 set(QSA_LIBRARIES ${QSA_LIBRARY})
31 set(QSA_INCLUDE_DIRS ${QSA_INCLUDE_DIR})
34 mark_as_advanced(QSA_INCLUDE_DIR QSA_LIBRARY)