diff --git a/recipes/libiec61850/all/conanfile.py b/recipes/libiec61850/all/conanfile.py index 3ee6c59e5b854..d1a845ee7afca 100644 --- a/recipes/libiec61850/all/conanfile.py +++ b/recipes/libiec61850/all/conanfile.py @@ -35,8 +35,8 @@ def source(self): def generate(self): tc = CMakeToolchain(self) - tc.variables["BUILD_EXAMPLES"] = False - tc.variables["BUILD_TESTS"] = False + tc.cache_variables["BUILD_EXAMPLES"] = False + tc.cache_variables["BUILD_TESTS"] = False tc.cache_variables["FIND_PACKAGE_DISABLE_Doxygen"] = True tc.generate()