diff --git a/cmake/FindWASAPI.cmake b/cmake/FindWASAPI.cmake index 88bb9a6..2207589 100644 --- a/cmake/FindWASAPI.cmake +++ b/cmake/FindWASAPI.cmake @@ -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)