This is an automated email from the ASF dual-hosted git repository.

yibocai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new ec1b6a4  ARROW-11956: [C++] Fix system re2 dependency detection for 
static library
ec1b6a4 is described below

commit ec1b6a4e7e657ae1a547fb7d0bec6e76c159b215
Author: Sutou Kouhei <[email protected]>
AuthorDate: Tue Mar 16 02:27:43 2021 +0000

    ARROW-11956: [C++] Fix system re2 dependency detection for static library
    
    RE2_SOURCE -> re2_SOURCE rename was done by ARROW-10896.
    
    Closes #9696 from kou/cpp-re2-fix-detection
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Yibo Cai <[email protected]>
---
 cpp/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index c48e704..1705e85 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -745,7 +745,7 @@ endif()
 if(ARROW_WITH_RE2)
   list(APPEND ARROW_LINK_LIBS re2::re2)
   list(APPEND ARROW_STATIC_LINK_LIBS re2::re2)
-  if(RE2_SOURCE STREQUAL "SYSTEM")
+  if(re2_SOURCE STREQUAL "SYSTEM")
     list(APPEND ARROW_STATIC_INSTALL_INTERFACE_LIBS re2::re2)
   endif()
 endif()

Reply via email to