Skip to content

[question] How can I get sub graph of a dependency in a recipe? #3414

@SpaceIm

Description

@SpaceIm

What is your question?

I need to find libs in topological order of a dependency (openssl) and its dependencies, in order to get their libs, lib dirs, include dirs, defines, system libs/frameworks so that I can patch a CMakeLists for check_symbol_exists() (for the well known bug in targets defined by CMakeDeps not working with these functions: conan-io/conan#12012 & conan-io/conan#12180).
I don't want the full graph (other unrelated dependencies of this recipe), and I don't want only cpp_info of openssl (I need also its dependencies (there might be zlib depending on an openssl option)).

How can I do that with self.dependencies?

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions