You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by yi...@apache.org on 2021/03/16 02:29:22 UTC

[arrow] branch master updated: ARROW-11956: [C++] Fix system re2 dependency detection for static library

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 <ko...@clear-code.com>
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 <ko...@clear-code.com>
    Signed-off-by: Yibo Cai <yi...@arm.com>
---
 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()