Skip to content

Commit

Permalink
ARROW-10290: [C++] List POP_BACK is not available in older CMake vers…
Browse files Browse the repository at this point in the history
…ions

Closes apache#8451 from kszucs/cmake-compat

Authored-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
  • Loading branch information
kszucs committed Oct 12, 2020
1 parent 6ce2793 commit 70ae161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/flight/CMakeLists.txt
Expand Up @@ -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"
Expand All @@ -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()
Expand Down

0 comments on commit 70ae161

Please sign in to comment.