Index: TestCMake/TestFileDownload/CMakeLists.txt
===================================================================
--- TestCMake/TestFileDownload/CMakeLists.txt	(revision f85979633d2ab986936fa90e0ff2adfe5774462c)
+++ TestCMake/TestFileDownload/CMakeLists.txt	(revision 1bcb3dd6e30e72a972400a1c9b553e73ea5cc429)
@@ -23,5 +23,5 @@
     endif( )
   elseif( MINGW )
-    set( ${var} "Win${tol_ps}GNU" )
+    set( ${var} "Win${tol_ps}GNU" PARENT_SCOPE )
   else( MINGW )
     message( WARNING "Could not determine TOL platform for system ${CMAKE_SYSTEM_NAME}" )
@@ -34,9 +34,11 @@
   set( url "http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?action=download&format=attachment&tol_package_version=4&package=${pkg}" )
   if ( WGET_FOUND )
-    if( bin )
+    if( ${bin} )
       get_tol_plat( tol_plat )
       set( url "${url}%23${tol_plat}" )
+    else( )
+      set( tol_plat "" )
     endif( )
-    message( "going to download last version of ${pkg} ..." )
+    message( STATUS "going to download last version of ${pkg} for platform '${tol_plat}'..." )
     execute_process( 
       COMMAND ${WGET_EXECUTABLE} --content-disposition "${url}" 
@@ -61,4 +63,6 @@
     file( RENAME ${f} ${f_zip} )
   endforeach( )
+else( )
+  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" )
 endif( WGET_FOUND )
 
