mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-22 23:05:29 +00:00
81cd9e54e9
AUDIOCLIENT_H, as declared here, is not an external cached variable, so calling mark_as_advanced() has no apparent effect (does not enable user to modify value, even in advanced mode). Even if it were cached, its value (success/failure at finding audioclient.h) should not be edited by the user. Also modified whitespace to be more consistent with that found in CMakeLists.txt.
15 lines
346 B
CMake
15 lines
346 B
CMake
# 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)
|