File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,14 @@ jobs:
7272 # Loop over all recipe config files.
7373 for config in ../configs/recipes/*.json; do
7474 json=${config##../configs/recipes/}
75- # Extract the recipe name, directory, version, and options.
75+ # Extract the recipe name, directory, version, and options. Note
76+ # that Conan expects the options to be scoped with either '&:'
77+ # meaning only the current recipe or '*:' meaning all dependent
78+ # recipes as well; we use the latter here.
7679 name=$(jq -r '.name' ${config})
7780 dir=$(jq -r '.dir' ${config})
7881 version=$(jq -r '.version' ${config})
79- opts=$(jq -r '.options | join(" -o ") | if length == 0 then "" else "-o " + . end' ${config})
82+ opts=$(jq -r '.options | join(" -o *: ") | if length == 0 then "" else "-o *: " + . end' ${config})
8083 # Create the recipe.
8184 echo "Creating recipe '${name}@${version}' with options '${opts}'."
8285 conan create ${name}/${dir} \
You can’t perform that action at this time.
0 commit comments