From f22d22be2e997ea0f24d466139d590d0533ca636 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Sun, 22 Jan 2023 16:24:30 +0100 Subject: [PATCH] Download ANTLR4 It now links against pthread, and this is not supported directly by emscriten. Downgrading the ANTLR version fixed the problem. Long-term, I submitted a PR against ANTLR to fix the issue: https://github.com/antlr/antlr4/pull/4086 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cc4a1b..da476e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,9 @@ endif() FetchContent_Declare(antlr GIT_REPOSITORY https://github.com/antlr/antlr4 - GIT_TAG 4.11.1 + # GIT_TAG 4.11.1 + GIT_TAG 1cb4669f84cea5b59661fd44b0f80509fdacd3f9 + GIT_SHALLOW FALSE GIT_PROGRESS TRUE )