3 # OSS_FOUND - True if OSS_INCLUDE_DIR is found
4 # OSS_INCLUDE_DIRS - Set when OSS_INCLUDE_DIR is found
5 # OSS_LIBRARIES - Set when OSS_LIBRARY is found
7 # OSS_INCLUDE_DIR - where to find sys/soundcard.h, etc.
8 # OSS_LIBRARY - where to find libossaudio (optional).
11 find_path(OSS_INCLUDE_DIR
13 DOC "The OSS include directory"
16 find_library(OSS_LIBRARY
18 DOC "Optional OSS library"
21 include(FindPackageHandleStandardArgs)
22 find_package_handle_standard_args(OSS REQUIRED_VARS OSS_INCLUDE_DIR)
25 set(OSS_INCLUDE_DIRS ${OSS_INCLUDE_DIR})
27 set(OSS_LIBRARIES ${OSS_LIBRARY})
33 mark_as_advanced(OSS_INCLUDE_DIR OSS_LIBRARY)