Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 3258772

Browse files
committed
disable asm/simd for ios
1 parent 1203734 commit 3258772

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/3rdparty/cryptopp/cryptopp.pro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ VERSION = 8.2.0
77

88
load(qt_build_config)
99

10-
message(QT_CPU_FEATURES = $$eval(QT_CPU_FEATURES.$$QT_ARCH))
11-
1210
# Input
1311
HEADERS += \
1412
src/3way.h \
@@ -450,6 +448,9 @@ win32:!win32-g++ {
450448
SOURCES += \
451449
src/sse_simd.cpp
452450
}
451+
} else:ios {
452+
MODULE_DEFINES += CRYPTOPP_DISABLE_ASM
453+
CONFIG -= simd
453454
} else:unix|win32-g++ {
454455
clang: QMAKE_CXXFLAGS += -Wno-keyword-macro -Wno-unused-const-variable -Wno-unused-private-field
455456
else:gcc: QMAKE_CXXFLAGS += -Wno-class-memaccess -Wno-unknown-pragmas

0 commit comments

Comments
 (0)