From b96bbc8f8d6d8dbc5796857bee9426c6b85d056b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 22 Mar 2018 21:58:56 -0400 Subject: [PATCH] AudioCommon/CMakelists: Migrate off add_dolphin_library Continues the changes that were introduced in 3a4c3bbe01e7a44ec997f4fbf0b678fba6f2d46c --- Source/Core/AudioCommon/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/Core/AudioCommon/CMakeLists.txt b/Source/Core/AudioCommon/CMakeLists.txt index 5617d08ba3..67d643789d 100644 --- a/Source/Core/AudioCommon/CMakeLists.txt +++ b/Source/Core/AudioCommon/CMakeLists.txt @@ -1,16 +1,14 @@ -set(SRCS +add_library(audiocommon AudioCommon.cpp AudioStretcher.cpp CubebStream.cpp CubebUtils.cpp DPL2Decoder.cpp Mixer.cpp - WaveFile.cpp NullSoundStream.cpp + WaveFile.cpp ) -add_dolphin_library(audiocommon "${SRCS}" "") - find_package(OpenSLES) if(OPENSLES_FOUND) message(STATUS "OpenSLES found, enabling OpenSLES sound backend") @@ -51,7 +49,7 @@ endif() if(WIN32) target_sources(audiocommon PRIVATE XAudio2Stream.cpp) - add_dolphin_library(audiocommon_xaudio27 "XAudio2_7Stream.cpp" "${LIBS}") + add_library(audiocommon_xaudio27 "XAudio2_7Stream.cpp") target_include_directories(audiocommon_xaudio27 PRIVATE ${PROJECT_SOURCE_DIR}/Externals ${PROJECT_SOURCE_DIR}/Externals/XAudio2_7