Skip to content

Commit

Permalink
use cache_variables for single-config varibles: BUILD_EXAMPLES, `…
Browse files Browse the repository at this point in the history
…BUILD_TESTS`
  • Loading branch information
inPhraZ committed Dec 13, 2024
1 parent 7c8c957 commit 6627bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/libiec61850/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 6627bd9

Please sign in to comment.