File: FindWASAPI.cmake

package info (click to toggle)
libsoundio 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 864 kB
  • sloc: ansic: 12,025; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 346 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright (c) 2015 Andrew Kelley
# This file is MIT licensed.
# See http://opensource.org/licenses/MIT

# WASAPI_FOUND
# AUDIOCLIENT_H

if(WIN32)
    include(CheckIncludeFile)
    check_include_file(audioclient.h AUDIOCLIENT_H)
endif()

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(WASAPI DEFAULT_MSG AUDIOCLIENT_H)