diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-11-11 13:38:13 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-11-11 13:04:12 +0000 |
commit | 1b41a62893e33c1be8e1103da9eb201ce392be09 (patch) | |
tree | 57c8842836d5ad079a0fdac414d0eadd791ef0db /src | |
parent | 8ef64341c3227937617f78bc3fe3f6a13e78df0d (diff) |
Fix armv7 embedded Linux build
In gui's CMakeLists.txt we have
if (NOT ANDROID)
...
add_qt_simd_part(Gui SIMD neon SOURCES ...)
...
endif()
and later
if(UNIX AND NOT ANDROID AND NOT APPLE_UIKIT AND NOT INTEGRITY AND NOT (TEST_architecture_arch STREQUAL "arm64"))
add_qt_simd_part(Gui SIMD neon
endif()
Since add_qt_simd_part internally uses an OBJECT library to compile the
sources with different flags and then link into Gui (in this case), we
may end up with an error when add_qt_simd_part is called twice for neon,
because the constructed target (Gui_simd_neon) exists already.
We can re-use an existing target though, as the SIMD features is the
same.
Change-Id: I7a21c6e66b47e918a53fa3b1a7db9e053ecc8d87
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions