Fixed CMakeLists.txt for Emscripten builds (#403)
Prevent compilation of __run-test262__ for Emscripten (fails due to the `ftw()` usage, but not needed anyway).
This commit is contained in:
parent
b81d4deee4
commit
5ca3c509d0
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ endif()
|
|||
#
|
||||
|
||||
# run-test262 uses pthreads.
|
||||
if(NOT WIN32)
|
||||
if(NOT WIN32 AND NOT EMSCRIPTEN)
|
||||
add_executable(run-test262
|
||||
quickjs-libc.c
|
||||
run-test262.c
|
||||
|
|
Loading…
Reference in a new issue