Skip to content

Commit 6627bd9

Browse files
committed
use cache_variables for single-config varibles: BUILD_EXAMPLES, BUILD_TESTS
1 parent 7c8c957 commit 6627bd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipes/libiec61850/all/conanfile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def source(self):
3535

3636
def generate(self):
3737
tc = CMakeToolchain(self)
38-
tc.variables["BUILD_EXAMPLES"] = False
39-
tc.variables["BUILD_TESTS"] = False
38+
tc.cache_variables["BUILD_EXAMPLES"] = False
39+
tc.cache_variables["BUILD_TESTS"] = False
4040
tc.cache_variables["FIND_PACKAGE_DISABLE_Doxygen"] = True
4141
tc.generate()
4242

0 commit comments

Comments
 (0)