path: root/src/plugins/sqldrivers/psql/CMakeLists.txt
diff options
authorAlexandru Croitor <>2021-03-26 11:52:54 +0100
committerAlexandru Croitor <>2021-04-01 18:14:56 +0200
commit6fd8748f882fad4968f7da1edc65165a78377447 (patch)
tree9986e652c01c8756a1ff5df6b4cfc9387cac798e /src/plugins/sqldrivers/psql/CMakeLists.txt
parent0592123a0c68b65c83555dc0f023c4bc77030f31 (diff)
CMake: Teach qt_internal_add_simd to exclude given osx architectures
qt_internal_add_simd can now take an EXCLUDE_OSX_ARCHITECTURES list of values which specifies for which architectures the simd compile flags should not be added. This is relevant for macOS universal builds. Example CMAKE_OSX_ARCHITECTURES is "x86_64;arm64" EXCLUDE_OSX_ARCHITECTURES is "arm64" SIMD is avx2 the final compiler flags that will be added are "-Xarch_x86_64 -mavx2" Slightly, clean up the function implementation and document its arguments. NAME handling has been removed because it's dead code that hasn't been removed as part of 1b7008a3d784f3f266368f824cb43d473a301ba1. Task-number: QTBUG-85447 Change-Id: I395c19bdd67219bebb6b5b8d9f418b6e6488e09b Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/plugins/sqldrivers/psql/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions