Hi Szilard,

I tried it in CMake 3.10 and it works fine(No slash is dropped).  Which
version of CMake are you using?

On Mon, Apr 9, 2018 at 11:24 AM, Szilárd Páll <sin.pec...@gmail.com> wrote:

> Hi,
>
> I'm trying to pass a URL (that's used in ExternalProject_Add), and I'm
> having trouble convincing bash + cmake to cooperate. No matter what
> I've done, one fo the "/" gets dropped from "http://";.
>
> Any ideas how can I construct an invocation similar to the one below
> that will actually work?
>
> cmake . -DMY_CUSTOM_URL='http://my-server.com/foobar.tar.gz'
>
>
> Thanks,
> --
> Szilárd
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> https://cmake.org/mailman/listinfo/cmake
>



-- 
Best regards
Haocheng

Haocheng LIU
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4421 <(518)%20881-4421>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to