Skip to content

Commit

Permalink
(conan-io#14633) catch2/2.x: use self.info in package id method
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Mc authored and AbrilRBS committed Jan 16, 2023
1 parent d4ee5d1 commit 745d2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/catch2/2.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def configure(self):
self.options.rm_safe("with_benchmark")

def package_id(self):
if not self.options.with_main:
if not self.info.options.with_main:
self.info.clear()

def layout(self):
Expand Down

0 comments on commit 745d2ef

Please sign in to comment.