From cfe51035fb300e9c65c17b1bc6f271fbe6eafe5d Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 1 Jul 2022 20:40:50 +1000 Subject: [PATCH] CMake: Drop unused ALSA dependency --- cmake/SearchForStuff.cmake | 5 ----- pcsx2/CMakeLists.txt | 1 - 2 files changed, 6 deletions(-) diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake index 0a8411f43a..7047d4e981 100644 --- a/cmake/SearchForStuff.cmake +++ b/cmake/SearchForStuff.cmake @@ -20,11 +20,6 @@ if (WIN32) add_subdirectory(3rdparty/xz EXCLUDE_FROM_ALL) add_subdirectory(3rdparty/D3D12MemAlloc EXCLUDE_FROM_ALL) else() - ## Use cmake package to find module - if (Linux) - find_package(ALSA REQUIRED) - make_imported_target_if_missing(ALSA::ALSA ALSA) - endif() find_package(PCAP REQUIRED) find_package(Gettext) # translation tool find_package(LibLZMA REQUIRED) diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt index cfa1a72c46..3236eec244 100644 --- a/pcsx2/CMakeLists.txt +++ b/pcsx2/CMakeLists.txt @@ -1550,7 +1550,6 @@ if(Linux) target_link_libraries(PCSX2_FLAGS INTERFACE PkgConfig::AIO PkgConfig::LIBUDEV - ALSA::ALSA ) endif()