[question] How to access self.options
of a parent library package from its test package?
#16491
Closed
1 task done
Greetings,
So, I have a test package (
test_package
sub-directory in the source repository) inside a package namedzlib/1.2.11
. In zlib's own recipe, I have:I need to access zlib's
self.options.minizip
value in test package's recipe:The code above works with Conan 1, but in Conan 2 I get this error:
Then the question is: How can one now (Conan 2) access options values of library packages in their respective test packages?
Thanks in advance,
PC
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: