Skip to content

Commit 9ecf0ef

Browse files
committed
Fix the tests for the Emscripten build
Emscripten cannot compile the parameterized test because it does not recognise std::views::iota.
1 parent 01ffd88 commit 9ecf0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ example(minimal minimal)
7676
example(mut mut)
7777
example(matcher matcher)
7878

79-
if(NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "AppleClang")
79+
if(NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "AppleClang" AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Emscripten")
8080
example(parameterized parameterized)
8181
endif()
8282

0 commit comments

Comments
 (0)