use url for mpark variant

toml-checker
Mohammed Alyousef 4 years ago
parent 8d0c8678c4
commit e29c408854

@ -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)

@ -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"

@ -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"

Loading…
Cancel
Save