From 3ff26000aa5733432b65b4a3fe95ad431ecda351 Mon Sep 17 00:00:00 2001 From: mcb Date: Mon, 4 Dec 2023 15:04:13 +0100 Subject: [PATCH] enable ANTLR4_USE_THREAD_LOCAL_CACHE --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e684cb0..47de2b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,8 @@ else () "$") endif () +add_compile_definitions(ANTLR4_USE_THREAD_LOCAL_CACHE=1) + add_library("${PROJECT_NAME}::${PROJECT_NAME}" ALIAS "${PROJECT_NAME}") target_link_libraries(sparql-parser-base PUBLIC