Skip to content

Commit 68a1953

Browse files
fix foreach_report exclusion to use VERSION_LESS to cover patch releases
Signed-off-by: guptapratykshh <pratykshgupta9999@gmail.com>
1 parent 8da4996 commit 68a1953

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libs/core/algorithms/tests/performance/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ set(benchmarks
3131
)
3232

3333
# foreach_report uses tag_invoke-based sender patterns that do not compile with
34-
# Clang <= 21 / AppleClang <= 17 against the current stdexec.
34+
# Clang < 22 / AppleClang < 18 against the current stdexec.
3535
if((CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION
36-
VERSION_LESS_EQUAL "21")
36+
VERSION_LESS "22")
3737
OR (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang"
38-
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL "17")
38+
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "18")
3939
)
4040
list(REMOVE_ITEM benchmarks foreach_report)
4141
endif()

0 commit comments

Comments
 (0)