From 1fb075adf9b88fb8da64bfab0bbbee67eb676070 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 10 Aug 2022 13:38:06 +1000 Subject: [PATCH] dep/soundtouch: Disable exceptions --- dep/soundtouch/CMakeLists.txt | 2 +- dep/soundtouch/soundtouch.vcxproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dep/soundtouch/CMakeLists.txt b/dep/soundtouch/CMakeLists.txt index c7744c2f9..7d3984061 100644 --- a/dep/soundtouch/CMakeLists.txt +++ b/dep/soundtouch/CMakeLists.txt @@ -24,7 +24,7 @@ add_library(soundtouch target_include_directories(soundtouch PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") target_compile_definitions(soundtouch PRIVATE ${COMPILE_DEFINITIONS}) target_compile_options(soundtouch PRIVATE ${COMPILE_OPTIONS}) -target_compile_definitions(soundtouch PRIVATE SOUNDTOUCH_FLOAT_SAMPLES) +target_compile_definitions(soundtouch PRIVATE SOUNDTOUCH_FLOAT_SAMPLES ST_NO_EXCEPTION_HANDLING=1) if("${CPU_ARCH}" STREQUAL "aarch32" OR "${CPU_ARCH}" STREQUAL "aarch64") target_compile_definitions(soundtouch PRIVATE SOUNDTOUCH_USE_NEON) diff --git a/dep/soundtouch/soundtouch.vcxproj b/dep/soundtouch/soundtouch.vcxproj index 33a1f0a3f..82c1bbebd 100644 --- a/dep/soundtouch/soundtouch.vcxproj +++ b/dep/soundtouch/soundtouch.vcxproj @@ -41,11 +41,11 @@ TurnOffAllWarnings - SOUNDTOUCH_FLOAT_SAMPLES;%(PreprocessorDefinitions) + SOUNDTOUCH_FLOAT_SAMPLES;ST_NO_EXCEPTION_HANDLING=1;%(PreprocessorDefinitions) SOUNDTOUCH_USE_NEON;%(PreprocessorDefinitions) SOUNDTOUCH_ALLOW_SSE;%(PreprocessorDefinitions) $(ProjectDir)include;$(ProjectDir)source;%(AdditionalIncludeDirectories) - \ No newline at end of file +