libsoundio/cmake/FindWASAPI.cmake

15 lines
346 B
CMake
Raw Permalink Normal View History

2015-08-08 22:22:50 +00:00
# Copyright (c) 2015 Andrew Kelley
# This file is MIT licensed.
# See http://opensource.org/licenses/MIT
# WASAPI_FOUND
# AUDIOCLIENT_H
2015-08-08 22:22:50 +00:00
if(WIN32)
include(CheckIncludeFile)
check_include_file(audioclient.h AUDIOCLIENT_H)
2015-08-08 22:22:50 +00:00
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(WASAPI DEFAULT_MSG AUDIOCLIENT_H)