We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1651a68 commit af44e12Copy full SHA for af44e12
CMakeLists.txt
@@ -119,6 +119,8 @@ target_link_libraries(core_base_interface INTERFACE
119
)
120
target_link_libraries(core_interface INTERFACE core_base_interface)
121
122
+include(TryAppendCXXFlags)
123
+
124
if(WIN32)
125
#[=[
126
This build system supports two ways to build binaries for Windows.
@@ -172,6 +174,9 @@ if(WIN32)
172
174
_WINDOWS
173
175
_MT
176
177
+ # Avoid the use of aligned vector instructions when building for Windows.
178
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412.
179
+ try_append_cxx_flags("-Wa,-muse-unaligned-vector-move" TARGET core_base_interface SKIP_LINK)
180
endif()
181
182
0 commit comments