Skip to content

Commit 5ca3c50

Browse files
Fixed CMakeLists.txt for Emscripten builds (#403)
Prevent compilation of __run-test262__ for Emscripten (fails due to the `ftw()` usage, but not needed anyway).
1 parent b81d4de commit 5ca3c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ endif()
235235
#
236236

237237
# run-test262 uses pthreads.
238-
if(NOT WIN32)
238+
if(NOT WIN32 AND NOT EMSCRIPTEN)
239239
add_executable(run-test262
240240
quickjs-libc.c
241241
run-test262.c

0 commit comments

Comments
 (0)