Re: [cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs

2013-07-12 Thread Eric Noulard
2013/7/12 Alan W. Irwin ir...@beluga.phys.uvic.ca: On 2013-07-11 16:30-0700 Alan W. Irwin wrote: These commands file(DOWNLOAD http://download.gnome.org/sources/glib/2.32/glib-2.32.1.tar.xz;

Re: [cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs

2013-07-12 Thread Alan W. Irwin
On 2013-07-12 11:21+0200 Eric Noulard wrote: so my best bet is that the CMake command your are using has no SSL support which makes the https handling fail with unsupported protocol. Hi Eric: Your hypothesis was absolutely correct (as you can see from my later posts in this thread). In

Re: [cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs

2013-07-12 Thread Alan W. Irwin
On 2013-07-12 23:33+0200 Eric Noulard wrote: Seriously, though, what do you do in the Windows case where there is no trusted distribution to build the openssl library for you? I presume you download some Windows binary from a location you trust, but what location is that? Then ask your

Re: [cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs

2013-07-12 Thread Christopher Sean Morrison
On Jul 12, 2013, at 4:27 PM, David Cole wrote: It’s a bad bad really bad idea to make the build of OpenSSL “in-house” as you’ve been calling it... CMake SHOULD use the system openssl for distributions that have one already. I must have missed where ignoring a system version was implied.

Re: [cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs

2013-07-11 Thread Pau Garcia i Quiles
Hello, Related to this, I implemented an EXTRACT_COMMAND option to ExternalProject_Add which would enable to download anything, provided that an EXTRACT_COMMAND is also passed so that CMake knows how to extract what it downloaded. It is specially useful for Windows, where NSIS, InstallShield, etc

Re: [cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs

2013-07-11 Thread Pau Garcia i Quiles
Hello, Sorry, the example was wrong (copy paste from a bad revision). This is the right one: ExternalProject_Add( graphicsmagick DOWNLOAD_NAME graphicsmagick.exe DOWNLOAD_DIR ${WINST_BASEDIR}/downloads URL ${graphicsmagick_URL} URL_MD5