open-license-manager
2014-10-16 d5cfca5d6eae5fdc99f04e50c19b12e1803ca90b
build/modules/add_boost.cmake
@@ -100,10 +100,10 @@
   if(NOT EXISTS ${ZipFilePath})
     message(STATUS "Downloading boost ${BoostVersion} to ${BoostCacheDir}")
   endif()
    #SHOW_PROGRESS
   file(DOWNLOAD http://sourceforge.net/projects/boost/files/boost/${BoostVersion}/${BoostFolderName}.tar.bz2/download
       ${ZipFilePath}
       STATUS Status
       SHOW_PROGRESS
       EXPECTED_HASH SHA1=${BoostSHA1}
       )
@@ -115,7 +115,7 @@
     file(MAKE_DIRECTORY ${BoostExtractFolder})
     file(COPY ${ZipFilePath} DESTINATION ${BoostExtractFolder})
     message(STATUS "Extracting boost ${BoostVersion} to ${BoostExtractFolder}")
     execute_process(COMMAND ${CMAKE_COMMAND} -E tar vxfz ${BoostFolderName}.tar.bz2
     execute_process(COMMAND ${CMAKE_COMMAND} -E tar xfz ${BoostFolderName}.tar.bz2
                 WORKING_DIRECTORY ${BoostExtractFolder}
                 RESULT_VARIABLE Result
                 )