summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2019-05-14 21:07:26 +0200
committerGitHub <noreply@github.com>2019-05-14 21:07:26 +0200
commitec734065db7d32b81805db72d65e8fbb56722a06 (patch)
treef027f758f3f580170243335505d507b8372c20f2 /Source/Core/AudioCommon
parentd5535a8ed9b42802e5402fc46c400b295ab12943 (diff)
parentba83cec6fb58b339651f9f935ebf1f1f5fe00413 (diff)
Merge pull request #8087 from spycrab/cmake_win2019
Support CMake on Windows
Diffstat (limited to 'Source/Core/AudioCommon')
-rw-r--r--Source/Core/AudioCommon/CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/Core/AudioCommon/CMakeLists.txt b/Source/Core/AudioCommon/CMakeLists.txt
index 577bdb41fb..8d58daab72 100644
--- a/Source/Core/AudioCommon/CMakeLists.txt
+++ b/Source/Core/AudioCommon/CMakeLists.txt
@@ -57,16 +57,8 @@ if(WIN32)
)
target_link_libraries(audiocommon PRIVATE audiocommon_xaudio27)
- set(ENV{OPENALDIR} ${PROJECT_SOURCE_DIR}/Externals/OpenAL)
# Dolphin loads openal32.dll at runtime
- find_package(OpenAL)
- if(OPENAL_FOUND)
- message(STATUS "OpenAL found, enabling OpenAL sound backend")
- target_sources(audiocommon PRIVATE OpenALStream.cpp)
- target_link_libraries(audiocommon PRIVATE OpenAL::OpenAL)
- else()
- message(STATUS "OpenAL NOT found in Externals")
- endif()
+ target_sources(audiocommon PRIVATE OpenALStream.cpp)
endif()
target_link_libraries(audiocommon PRIVATE cubeb SoundTouch FreeSurround)