[resending since the original seems to have never made it to the list.] I'm using ExternalProject_add in a script that builds various libraries I depend on, and I'm running into platform differences when attempting to download a source archive from a sourceforge URL. Sounds like a bug to me. But I'm also guessing that sourceforge may be redirecting the URL get request, which may account for the problems on Linux -- and there may be better ways for me to get my task done.
The following unexpurgated CMakeLists.txt works on Mac (10.6.4), but the download fails (0byte result) on Linux (Ubuntu 10.04): ---------- cmake_minimum_required(VERSION 2.8) include(ExternalProject) ExternalProject_Add( poco-1.3.6 PREFIX poco URL http://downloads.sourceforge.net/project/poco/sources/poco-1.3.6/poco-1.3.6p2.tar.gz CONFIGURE_COMMAND ../poco-1.3.6/configure --no-tests --no-samples --omit=Util,Net,Crypto,NetSSL_OpenSSL,Data,Data/SQLite,Data/ODBC,Data/MySQL,Zip BUILD_COMMAND make ) ---------- Any words of wisdom for a cmake newbie? KC Jones kc.jo...@skype.net SkypeId: bernalkc _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake