libsoundio/cmake/FindWASAPI.cmake

16 lines
367 B
CMake
Raw 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
# WASAPI_INCLUDE_DIR
if (WIN32)
find_path(WASAPI_INCLUDE_DIR NAMES audioclient.h)
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(WASAPI DEFAULT_MSG WASAPI_INCLUDE_DIR)
2015-08-11 06:18:08 +00:00
mark_as_advanced(WASAPI_INCLUDE_DIR)