From b7276483da3a31e94173af3a09cd18a7c2148720 Mon Sep 17 00:00:00 2001 From: Ryan Meredith Date: Fri, 9 Mar 2018 12:29:23 -0500 Subject: [PATCH] Change FATAL_ERROR to STATUS message for OpenAL not found in externals --- Source/Core/AudioCommon/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/AudioCommon/CMakeLists.txt b/Source/Core/AudioCommon/CMakeLists.txt index 8213df5fe8..5617d08ba3 100644 --- a/Source/Core/AudioCommon/CMakeLists.txt +++ b/Source/Core/AudioCommon/CMakeLists.txt @@ -59,13 +59,14 @@ 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(FATAL_ERROR "OpenAL NOT found in Externals") + message(STATUS "OpenAL NOT found in Externals") endif() endif()