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:
Jonathan Barronville 2024-05-14 02:44:46 -04:00 committed by GitHub
parent b81d4deee4
commit 5ca3c509d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -235,7 +235,7 @@ endif()
# #
# run-test262 uses pthreads. # run-test262 uses pthreads.
if(NOT WIN32) if(NOT WIN32 AND NOT EMSCRIPTEN)
add_executable(run-test262 add_executable(run-test262
quickjs-libc.c quickjs-libc.c
run-test262.c run-test262.c