zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

FindOSS.cmake (433B)


      1 # Find OSS (Open Sound System)
      2 
      3 # OSS is not for APPLE or WINDOWS
      4 
      5 IF(APPLE OR WIN32)
      6   RETURN()
      7 ENDIF()
      8 
      9 find_path(OSS_INCLUDE_DIR sys/soundcard.h)
     10 set(OSS_LIBRARIES True)
     11 mark_as_advanced(OSS_INCLUDE_DIR)
     12 
     13 # handle the QUIETLY and REQUIRED arguments and set OSS_FOUND to TRUE if
     14 # all listed variables are TRUE
     15 INCLUDE(FindPackageHandleStandardArgs)
     16 FIND_PACKAGE_HANDLE_STANDARD_ARGS(OSS DEFAULT_MSG OSS_LIBRARIES OSS_INCLUDE_DIR)