Skip to content

Commit e29c408

Browse files
committed
use url for mpark variant
1 parent 8d0c867 commit e29c408

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ FetchContent_MakeAvailable(filesystem)
2525

2626
FetchContent_Declare(
2727
mpark_variant
28-
GIT_REPOSITORY https://github.com/mpark/variant
29-
GIT_TAG v1.4.0
28+
URL https://github.com/mpark/variant/archive/v1.4.0.tar.gz
3029
)
3130

3231
FetchContent_MakeAvailable(mpark_variant)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ version = "0.1.3"
4040
[fetch-content]
4141
toml11 = { git = "https://github.com/ToruNiina/toml11" }
4242
filesystem = { git = "https://github.com/gulrak/filesystem" }
43-
mpark_variant = { git = "https://github.com/mpark/variant", tag = "v1.4.0" }
43+
mpark_variant = { url = "https://github.com/mpark/variant/archive/v1.4.0.tar.gz" }
4444

4545
[[bin]]
4646
name = "cmkrlib"

cmake.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version = "0.1.3"
88
[fetch-content]
99
toml11 = { git = "https://github.com/ToruNiina/toml11" }
1010
filesystem = { git = "https://github.com/gulrak/filesystem" }
11-
mpark_variant = { git = "https://github.com/mpark/variant", tag = "v1.4.0" }
11+
mpark_variant = { url = "https://github.com/mpark/variant/archive/v1.4.0.tar.gz" }
1212

1313
[[bin]]
1414
name = "cmkrlib"

0 commit comments

Comments
 (0)