summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Schäpers <bjoern@hazardy.de>2022-10-09 19:06:22 +0200
committerBjörn Schäpers <bjoern@hazardy.de>2022-10-10 09:10:26 +0200
commit6fae541a2015c329942f6c2a96fc3b1de3f14a7a (patch)
tree1a51c2225f8d366b5c83e9161460a5d79a587c44
parentfd34e236860236bc07025295e18352e33f53d3c4 (diff)
32 Bit MinGW: Fix build
Since it "isn't supported" officially it shouldn't matter that we disable SIMD to get it compiling. Reused the stuff introduced by 79f4ba8a59079c040da91e42da4371cd5d742408 and partially removed in c127fbc64d1bd9f085879ec01dcff8d9770c7504. Pick-to: 6.4 Task-number: QTBUG-107127 Change-Id: I8dca4854c2e80dd4d46e1d2678b81c99a0b48125 Reviewed-by: Lars Knoll <lars@knoll.priv.no>
-rw-r--r--src/resonance-audio/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resonance-audio/CMakeLists.txt b/src/resonance-audio/CMakeLists.txt
index 3fdf2168d..6b82e9ac5 100644
--- a/src/resonance-audio/CMakeLists.txt
+++ b/src/resonance-audio/CMakeLists.txt
@@ -1,6 +1,10 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
+if (MINGW AND CMAKE_SIZEOF_VOID_P EQUAL 4)
+ set(NO_SIMD_DEFINES PFFFT_SIMD_DISABLE DISABLE_SIMD)
+endif()
+
set(PFFFT_DIR "../3rdparty/pffft/" CACHE PATH "Path to pffft library")
set(PFFFT_INCLUDE_DIR ${PFFFT_DIR})
set(PFFFT_SOURCE