mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-22 13:05:40 +00:00
WASAPI: Remove useless statement in CMake module
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.
This commit is contained in:
parent
7469bee058
commit
81cd9e54e9
|
@ -5,11 +5,10 @@
|
|||
# WASAPI_FOUND
|
||||
# AUDIOCLIENT_H
|
||||
|
||||
if (WIN32)
|
||||
include(CheckIncludeFile)
|
||||
check_include_file(audioclient.h 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)
|
||||
mark_as_advanced(AUDIOCLIENT_H)
|
||||
|
|
Loading…
Reference in a new issue