From 52a0351f1e37e50133fc110946b1c4c529735308 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 10 Jun 2026 17:38:41 +0200 Subject: [PATCH] GH-49834: [C++] Avoid building re2 unit tests --- cpp/cmake_modules/ThirdpartyToolchain.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 9a03030115cd..41a38c8a2eae 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -3064,6 +3064,7 @@ function(build_re2) # Unity build causes some build errors set(CMAKE_UNITY_BUILD OFF) + set(RE2_BUILD_TESTING OFF) fetchcontent_makeavailable(re2)