Skip to content

Commit

Permalink
use dependencies instead of options
Browse files Browse the repository at this point in the history
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
  • Loading branch information
toge and SpaceIm authored Jan 31, 2023
1 parent ef6dfc0 commit 6c119da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/libtorrent/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def requirements(self):

def _validate_dependency_graph(self):
if Version(self.dependencies["boost"].ref.version) < "1.69.0" and \
(self.options["boost"].header_only or self.options["boost"].without_system):
(self.dependencies["boost"].options.header_only or self.dependencies["boost"].options.without_system):
raise ConanInvalidConfiguration(f"{self.ref} requires boost with system, which is non-header only in boost < 1.69.0")

def _cmake_new_enough(self, required_version):
Expand Down

0 comments on commit 6c119da

Please sign in to comment.