Unsupported protocol while download tar.gz package

后端 未结 7 1070
一整个雨季
一整个雨季 2020-12-30 05:07

I have just upgrade my CMake from version 2.8 to 3.2.

It\'s working like a charm in CMake 2.8 but, after the upgrade, it\'s failing.

I\'m trying to build thi

7条回答
  •  既然无缘
    2020-12-30 05:43

    In my ExternalProject_Add(), I have use GIT_REPOSITORY insted of URL option.

    #URL https://github.com/keplerproject/luacov/archive/v0.7.tar.gz
    GIT_REPOSITORY https://github.com/keplerproject/luacov.git
    

    And luacov download and build successfully.

    For any https protocol use DOWNLOAD_COMMAND option of ExternalProject_Add() function.

    DOWNLOAD_COMMAND wget https://github.com/keplerproject/luacov/archive/v0.7.tar.gz
    

    and its working as expected.

    Thanks.

提交回复
热议问题