Hi everyone,

i'm trying to use ExternalProject_Add like the following:

set(BOOST_VERSION 1.68.0)
set(BOOST_VERSION_NODOTS 1_68_0)
set(BOOST_URI 
https://dl.bintray.com/boostorg/release/${BOOST_VERSION}/source/boost_${BOOST_VERSION_NODOTS}.tar.gz)
set(BOOST_HASH 5d8b4503582fffa9eefdb9045359c239)

ExternalProject_Add(external_boost
        PREFIX ${CMAKE_BINARY_DIR}/boost
                URL ${BOOST_URL}
        DOWNLOAD_DIR ${CMAKE_BINARY_DIR}/boost
                URL_HASH MD5=${BOOST_HASH}
        CONFIGURE_COMMAND  cd ${CMAKE_BINARY_DIR}/boost/src/external_boost/ && 
./bootstrab --prefix=${OUTPUT_PATH}/boost
                BUILD_COMMAND  cd ${CMAKE_BINARY_DIR}/boost/src/external_boost/ 
&& ./b2
                BUILD_IN_SOURCE 1
                INSTALL_DIR ${OUTPUT_PATH}/boost

The problem is that he tells me that the md5 sum isn't correct, but i did 
md5sum ${BOOST_URL}.


I now play around with this for nearnly an hour and i allways get the same 
error.

I hope someone here can help me out.

best regards,
Steven Truppe

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to