mirror of https://github.com/PCSX2/pcsx2.git
CMake: Drop SPU2X_PULSEAUDIO define
This commit is contained in:
parent
40cb41399f
commit
2584835176
|
@ -66,11 +66,6 @@ elseif("${PGO}" STREQUAL "use")
|
||||||
target_compile_options(PCSX2_FLAGS INTERFACE -fprofile-use)
|
target_compile_options(PCSX2_FLAGS INTERFACE -fprofile-use)
|
||||||
endif()
|
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)
|
if(XDG_STD)
|
||||||
target_compile_definitions(PCSX2_FLAGS INTERFACE XDG_STD)
|
target_compile_definitions(PCSX2_FLAGS INTERFACE XDG_STD)
|
||||||
endif()
|
endif()
|
||||||
|
@ -519,6 +514,7 @@ set(pcsx2USBHeaders
|
||||||
if(TARGET PulseAudio::PulseAudio)
|
if(TARGET PulseAudio::PulseAudio)
|
||||||
list(APPEND pcsx2USBSources USB/usb-mic/audiodev-pulse.cpp)
|
list(APPEND pcsx2USBSources USB/usb-mic/audiodev-pulse.cpp)
|
||||||
list(APPEND pcsx2USBHeaders USB/usb-mic/audiodev-pulse.h)
|
list(APPEND pcsx2USBHeaders USB/usb-mic/audiodev-pulse.h)
|
||||||
|
target_link_libraries(PCSX2_FLAGS INTERFACE PulseAudio::PulseAudio)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(PCSX2_CORE)
|
if(PCSX2_CORE)
|
||||||
|
|
Loading…
Reference in New Issue