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

wesm 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 97c24d7  ARROW-2726: [C++] Fix the latest Boost version
97c24d7 is described below

commit 97c24d759616c6b5e24717bca24135179a3474f9
Author: Kouhei Sutou <[email protected]>
AuthorDate: Thu Jun 21 05:01:59 2018 -0400

    ARROW-2726: [C++] Fix the latest Boost version
    
    Boost 1.68.0 isn't released yet.
    
    Author: Kouhei Sutou <[email protected]>
    
    Closes #2150 from kou/cpp-fix-latest-boost-version and squashes the 
following commits:
    
    42ff1c4c <Kouhei Sutou>  Fix the latest Boost version
---
 cpp/cmake_modules/ThirdpartyToolchain.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake 
b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index 2e202dd..4dfe043 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -146,7 +146,7 @@ set(Boost_ADDITIONAL_VERSIONS
   "1.62.0" "1.61"
   "1.61.0" "1.62"
   "1.60.0" "1.60")
-list(GET Boost_ADDITIONAL_VERSIONS 0 BOOST_LATEST_VERSION)
+list(GET Boost_ADDITIONAL_VERSIONS 2 BOOST_LATEST_VERSION)
 string(REPLACE "." "_" BOOST_LATEST_VERSION_IN_PATH ${BOOST_LATEST_VERSION})
 set(BOOST_LATEST_URL
   
"https://dl.bintray.com/boostorg/release/${BOOST_LATEST_VERSION}/source/boost_${BOOST_LATEST_VERSION_IN_PATH}.tar.gz";)

Reply via email to