Skip to content

Commit 21a2abe

Browse files
committed
Fix options in conanfile.py
Fix options in conanfile.py 79f82ad8edde6732647a2597578c4ff68a239b55
1 parent 5552f7c commit 21a2abe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/export_generators/cmake/conanfile.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class App(ConanFile):
1515

1616
settings = "os", "compiler", "build_type", "arch"
1717

18-
options = {
18+
default_options = {
1919
{%- for conan_option in conan.options -%}
2020
{%- set option_and_value = rsplit(conan_option, "=", 2) %}"{{ option_and_value[0] }}": "{{ option_and_value[1] }}"
2121
{%- if not loop.last -%}, {% endif -%}

build/export_generators/hardcoded-cmake/conanfile.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class App(ConanFile):
1212

1313
settings = "os", "compiler", "build_type", "arch"
1414

15-
options = {
15+
default_options = {
1616
{%- for conan_option in conan_options -%}
1717
{%- set option_and_value = rsplit(conan_option, "=", 2) %}"{{ option_and_value[0] }}": "{{ option_and_value[1] }}"
1818
{%- if not loop.last -%}, {% endif -%}

0 commit comments

Comments
 (0)