Only attempt to compile PulseAudioPlayer on Linux (#1581)

This commit is contained in:
David Chavez 2022-09-25 18:18:26 +02:00 committed by GitHub
parent 5a0b854c5c
commit e412a8b55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,9 @@ set(Source_Files__Audio__extra
"WasapiAudioPlayer.cpp" "WasapiAudioPlayer.cpp"
"WasapiAudioPlayer.h" "WasapiAudioPlayer.h"
) )
else() endif ()
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(Source_Files__Audio__extra set(Source_Files__Audio__extra
"PulseAudioPlayer.cpp" "PulseAudioPlayer.cpp"
"PulseAudioPlayer.h" "PulseAudioPlayer.h"