diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 9a03030115c..41a38c8a2ea 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)