From b2bf80fcaaec8774cbd630686f39da4aa716b3a0 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Sat, 13 May 2023 18:54:06 +0200 Subject: [PATCH] Fix ANTLR4 fake pthread dependency issue. This fixes the snap package issue reported in: https://github.com/ArthurSonzogni/Diagon/discussions/66 This is fixed by a pending patch in ANTLR: https://github.com/antlr/antlr4/pull/4267 --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index efe6486..9547d8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,8 +34,10 @@ endif() #------------------------------------------------------------------------------- FetchContent_Declare(antlr - GIT_REPOSITORY https://github.com/antlr/antlr4 - GIT_TAG 1cb4669f84cea5b59661fd44b0f80509fdacd3f9 + #GIT_REPOSITORY https://github.com/antlr/antlr4 + GIT_REPOSITORY https://github.com/ArthurSonzogni/antlr4 + # GIT_TAG 1cb4669f84cea5b59661fd44b0f80509fdacd3f9 + GIT_TAG remove-pthread GIT_SHALLOW FALSE GIT_PROGRESS TRUE )