Skip to content

Commit

Permalink
The BOOTSTRAP parameter may have multiple values, ie:
Browse files Browse the repository at this point in the history
cmake -E env1=value ./autogen.sh
  • Loading branch information
nagyt2 committed May 19, 2021
1 parent edc05c6 commit 02ab24e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/modules/hunter_autotools_project.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ function(hunter_autotools_project target_name)
CFLAGS
CXXFLAGS
LDFLAGS
BOOTSTRAP
)
set(multi_value_params
PACKAGE_CONFIGURATION_TYPES
EXTRA_FLAGS
PATCH_COMMAND
BOOTSTRAP
)
cmake_parse_arguments(
PARAM
Expand Down Expand Up @@ -176,6 +176,8 @@ function(hunter_autotools_project target_name)

set(configure_command ${shell_env} ${autotools_configure_command})

message("AutoTools: Bootstrap command: ${PARAM_BOOTSTRAP} Configure command: ${configure_command} Build command: ${build_command}")

ExternalProject_Add(${target_name}
URL
${PARAM_URL}
Expand Down

0 comments on commit 02ab24e

Please sign in to comment.