We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5ab2e commit 14dc4caCopy full SHA for 14dc4ca
CMakeLists.txt
@@ -82,6 +82,11 @@ else()
82
list(APPEND CXX_FLAGS -Wno-maybe-uninitialized)
83
list(APPEND CXX_FLAGS -Wno-uninitialized)
84
endif()
85
+
86
+ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND
87
+ CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "20")
88
+ list(APPEND CXX_FLAGS -fno-coro-aligned-allocation)
89
+ endif()
90
91
92
set(IS_ACC OFF CACHE INTERNAL "Whether the current compiler is ACC")
0 commit comments