CMake: Drop SPU2X_PULSEAUDIO define

This commit is contained in:
Connor McLaughlin 2022-12-05 01:10:41 +10:00 committed by refractionpcsx2
parent 40cb41399f
commit 2584835176
1 changed files with 1 additions and 5 deletions

View File

@ -66,11 +66,6 @@ elseif("${PGO}" STREQUAL "use")
target_compile_options(PCSX2_FLAGS INTERFACE -fprofile-use)
endif()
if(TARGET PulseAudio::PulseAudio)
target_compile_definitions(PCSX2_FLAGS INTERFACE SPU2X_PULSEAUDIO)
target_link_libraries(PCSX2_FLAGS INTERFACE PulseAudio::PulseAudio)
endif()
if(XDG_STD)
target_compile_definitions(PCSX2_FLAGS INTERFACE XDG_STD)
endif()
@ -519,6 +514,7 @@ set(pcsx2USBHeaders
if(TARGET PulseAudio::PulseAudio)
list(APPEND pcsx2USBSources USB/usb-mic/audiodev-pulse.cpp)
list(APPEND pcsx2USBHeaders USB/usb-mic/audiodev-pulse.h)
target_link_libraries(PCSX2_FLAGS INTERFACE PulseAudio::PulseAudio)
endif()
if(PCSX2_CORE)