From e8b6e95f8ef66ff8bc641a03938184d375ced3a5 Mon Sep 17 00:00:00 2001 From: sguo35 Date: Fri, 17 Jun 2022 19:14:53 -0700 Subject: [PATCH] [3rdparty] Disable warnings for soundtouch dependency Disabling warnings for soundtouch allows Clang to compile in debug mode. --- 3rdparty/SoundTouch/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/3rdparty/SoundTouch/CMakeLists.txt b/3rdparty/SoundTouch/CMakeLists.txt index 33d1e7d5e6..d607e6f2b8 100644 --- a/3rdparty/SoundTouch/CMakeLists.txt +++ b/3rdparty/SoundTouch/CMakeLists.txt @@ -27,6 +27,8 @@ target_compile_definitions(soundtouch PUBLIC SOUNDTOUCH_FLOAT_SAMPLES; ) +target_compile_options(soundtouch PUBLIC "-w") + if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86|X86|amd64|AMD64|em64t|EM64T)") target_compile_definitions(soundtouch PUBLIC SOUNDTOUCH_ALLOW_SSE