Changeset 2c56a00 in tol


Ignore:
Timestamp:
Nov 30, 2015, 9:30:28 AM (11 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
f5f1624
Parents:
1bcb3dd
Message:

correcciones en la descarga de los de defaultpackages para MINGW, faltaba un PARENT_SCOPE, asegurar que tol_plat se limpie

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/CMakeLists.txt

    r1bcb3dd r2c56a00  
    101101    endif( )
    102102  elseif( MINGW )
    103     set( ${var} "Win${tol_ps}GNU" )
     103    set( ${var} "Win${tol_ps}GNU" PARENT_SCOPE )
    104104  else( MINGW )
    105105    message( WARNING "Could not determine TOL platform for system ${CMAKE_SYSTEM_NAME}" )
    … …  
    112112  set( url "http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?action=download&format=attachment&tol_package_version=4&package=${pkg}" )
    113113  if ( WGET_FOUND )
    114     if( bin )
     114    if( ${bin} )
    115115      get_tol_plat( tol_plat )
    116116      set( url "${url}%23${tol_plat}" )
     117    else( )
     118      set( tol_plat "" )
    117119    endif( )
    118     message( "going to download last version of ${pkg} ..." )
     120    message( STATUS "going to download last version of ${pkg} for platform '${tol_plat}' ..." )
    119121    execute_process(
    120122      COMMAND ${WGET_EXECUTABLE} --content-disposition "${url}"
    … …  
    442444      COMPONENT RUNTIME )
    443445  endif( )
     446else( WGET_FOUND )
     447  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" )
    444448endif( WGET_FOUND )
    445449
Note: See TracChangeset for help on using the changeset viewer.