Skip to content

Commit fdfcfcb

Browse files
authored
Fix autotools when using hunter download server (#478)
The introduction of HUNTER_DOWNLOAD_SERVER broke the autotools scheme because the scheme expected exactly one URL. To fix that, teach autotools that URL is a multi value parameter.
1 parent 8087b9f commit fdfcfcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/hunter_autotools_project.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ function(hunter_autotools_project target_name)
7373
set(optional_params)
7474
set(one_value_params
7575
HUNTER_SELF
76-
URL
7776
URL_HASH
7877
DOWNLOAD_DIR
7978
SOURCE_DIR
@@ -88,6 +87,7 @@ function(hunter_autotools_project target_name)
8887
BOOTSTRAP
8988
)
9089
set(multi_value_params
90+
URL
9191
PACKAGE_CONFIGURATION_TYPES
9292
EXTRA_FLAGS
9393
PATCH_COMMAND

0 commit comments

Comments
 (0)