mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-23 04:45:40 +00:00
16 lines
367 B
CMake
16 lines
367 B
CMake
# 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)
|
|
|
|
mark_as_advanced(WASAPI_INCLUDE_DIR)
|