diff --git a/libultraship/libultraship/CMakeLists.txt b/libultraship/libultraship/CMakeLists.txt index d2b35a1f8..6d3716216 100644 --- a/libultraship/libultraship/CMakeLists.txt +++ b/libultraship/libultraship/CMakeLists.txt @@ -66,7 +66,9 @@ set(Source_Files__Audio__extra "WasapiAudioPlayer.cpp" "WasapiAudioPlayer.h" ) -else() +endif () + +if (CMAKE_SYSTEM_NAME STREQUAL "Linux") set(Source_Files__Audio__extra "PulseAudioPlayer.cpp" "PulseAudioPlayer.h"