Changeset 1bcb3dd in tol for TestCMake/TestFileDownload/CMakeLists.txt
- Timestamp:
- Nov 30, 2015, 8:57:51 AM (11 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 2c56a00
- Parents:
- f859796
- File:
-
- 1 edited
-
TestCMake/TestFileDownload/CMakeLists.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
TestCMake/TestFileDownload/CMakeLists.txt
rf859796 r1bcb3dd 23 23 endif( ) 24 24 elseif( MINGW ) 25 set( ${var} "Win${tol_ps}GNU" )25 set( ${var} "Win${tol_ps}GNU" PARENT_SCOPE ) 26 26 else( MINGW ) 27 27 message( WARNING "Could not determine TOL platform for system ${CMAKE_SYSTEM_NAME}" ) … … 34 34 set( url "http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?action=download&format=attachment&tol_package_version=4&package=${pkg}" ) 35 35 if ( WGET_FOUND ) 36 if( bin)36 if( ${bin} ) 37 37 get_tol_plat( tol_plat ) 38 38 set( url "${url}%23${tol_plat}" ) 39 else( ) 40 set( tol_plat "" ) 39 41 endif( ) 40 message( "going to download last version of ${pkg}..." )42 message( STATUS "going to download last version of ${pkg} for platform '${tol_plat}'..." ) 41 43 execute_process( 42 44 COMMAND ${WGET_EXECUTABLE} --content-disposition "${url}" … … 61 63 file( RENAME ${f} ${f_zip} ) 62 64 endforeach( ) 65 else( ) 66 message( WARNING "Could not download default packages 'StdLib' and 'TclCore' because wget command is not available. wget must be included in PATH in order to use it" ) 63 67 endif( WGET_FOUND ) 64 68
Note: See TracChangeset
for help on using the changeset viewer.
