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

kszucs 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 70ae161  ARROW-10290: [C++] List POP_BACK is not available in older 
CMake versions
70ae161 is described below

commit 70ae16115692a1234ba177ea912727bb97fb8227
Author: Krisztián Szűcs <[email protected]>
AuthorDate: Tue Oct 13 01:33:32 2020 +0200

    ARROW-10290: [C++] List POP_BACK is not available in older CMake versions
    
    Closes #8451 from kszucs/cmake-compat
    
    Authored-by: Krisztián Szűcs <[email protected]>
    Signed-off-by: Krisztián Szűcs <[email protected]>
---
 cpp/src/arrow/flight/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpp/src/arrow/flight/CMakeLists.txt 
b/cpp/src/arrow/flight/CMakeLists.txt
index da15236..edd4fdf 100644
--- a/cpp/src/arrow/flight/CMakeLists.txt
+++ b/cpp/src/arrow/flight/CMakeLists.txt
@@ -88,7 +88,7 @@ if(NOT DEFINED HAS_GRPC_132)
     message(DEBUG "Build output:")
     list(APPEND CMAKE_MESSAGE_INDENT "check_tls_opts_132.cc: ")
     message(DEBUG ${TSL_CREDENTIALS_OPTIONS_CHECK_OUTPUT})
-    list(POP_BACK CMAKE_MESSAGE_INDENT)
+    list(REMOVE_AT CMAKE_MESSAGE_INDENT -1)
 
     try_compile(HAS_GRPC_127 ${CMAKE_CURRENT_BINARY_DIR}/try_compile SOURCES
                 "${CMAKE_CURRENT_SOURCE_DIR}/try_compile/check_tls_opts_127.cc"
@@ -104,7 +104,7 @@ if(NOT DEFINED HAS_GRPC_132)
       message(DEBUG "Build output:")
       list(APPEND CMAKE_MESSAGE_INDENT "check_tls_opts_127.cc: ")
       message(DEBUG ${TSL_CREDENTIALS_OPTIONS_CHECK_OUTPUT})
-      list(POP_BACK CMAKE_MESSAGE_INDENT)
+      list(REMOVE_AT CMAKE_MESSAGE_INDENT -1)
     endif()
   endif()
 endif()

Reply via email to