From e29c408854f5997c3cba047ae12f9cc9d55a2922 Mon Sep 17 00:00:00 2001 From: Mohammed Alyousef Date: Mon, 7 Dec 2020 02:06:35 +0300 Subject: [PATCH] use url for mpark variant --- CMakeLists.txt | 3 +-- README.md | 2 +- cmake.toml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 49827bb..9d7f5ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,8 +25,7 @@ FetchContent_MakeAvailable(filesystem) FetchContent_Declare( mpark_variant - GIT_REPOSITORY https://github.com/mpark/variant - GIT_TAG v1.4.0 + URL https://github.com/mpark/variant/archive/v1.4.0.tar.gz ) FetchContent_MakeAvailable(mpark_variant) diff --git a/README.md b/README.md index 5222a85..a30239f 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ version = "0.1.3" [fetch-content] toml11 = { git = "https://github.com/ToruNiina/toml11" } filesystem = { git = "https://github.com/gulrak/filesystem" } -mpark_variant = { git = "https://github.com/mpark/variant", tag = "v1.4.0" } +mpark_variant = { url = "https://github.com/mpark/variant/archive/v1.4.0.tar.gz" } [[bin]] name = "cmkrlib" diff --git a/cmake.toml b/cmake.toml index 8a55823..bf63a7a 100644 --- a/cmake.toml +++ b/cmake.toml @@ -8,7 +8,7 @@ version = "0.1.3" [fetch-content] toml11 = { git = "https://github.com/ToruNiina/toml11" } filesystem = { git = "https://github.com/gulrak/filesystem" } -mpark_variant = { git = "https://github.com/mpark/variant", tag = "v1.4.0" } +mpark_variant = { url = "https://github.com/mpark/variant/archive/v1.4.0.tar.gz" } [[bin]] name = "cmkrlib"