Changeset 1bcb3dd in tol


Ignore:
Timestamp:
Nov 30, 2015, 8:57:51 AM (11 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
2c56a00
Parents:
f859796
Message:

correcciones al test, faltaba un PARENT_SCOPE, asegurar que tol_plat se limpie

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7075 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TestCMake/TestFileDownload/CMakeLists.txt

    rf859796 r1bcb3dd  
    2323    endif( )
    2424  elseif( MINGW )
    25     set( ${var} "Win${tol_ps}GNU" )
     25    set( ${var} "Win${tol_ps}GNU" PARENT_SCOPE )
    2626  else( MINGW )
    2727    message( WARNING "Could not determine TOL platform for system ${CMAKE_SYSTEM_NAME}" )
    … …  
    3434  set( url "http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?action=download&format=attachment&tol_package_version=4&package=${pkg}" )
    3535  if ( WGET_FOUND )
    36     if( bin )
     36    if( ${bin} )
    3737      get_tol_plat( tol_plat )
    3838      set( url "${url}%23${tol_plat}" )
     39    else( )
     40      set( tol_plat "" )
    3941    endif( )
    40     message( "going to download last version of ${pkg} ..." )
     42    message( STATUS "going to download last version of ${pkg} for platform '${tol_plat}'..." )
    4143    execute_process(
    4244      COMMAND ${WGET_EXECUTABLE} --content-disposition "${url}"
    … …  
    6163    file( RENAME ${f} ${f_zip} )
    6264  endforeach( )
     65else( )
     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" )
    6367endif( WGET_FOUND )
    6468
Note: See TracChangeset for help on using the changeset viewer.