Skip to content

[Bug] Linking with cmake target which in a export group create issues. #10139

@prateek9623

Description

@prateek9623

Hi, can we add tvm cmake targets in an export group? As current targets when linked with another target with an export target create issues. Also, it would be great if we add support cmake "find_package".

I have created a PR to resolve this. #10097

Expected behavior

cmake tvm target link successfully with another target with an export group.

Actual behavior

cmake tvm target linking fails with another target with an export group, with error.

CMake Error: install(EXPORT "anotherTargets" ...) includes target "another" which requires target "tvm" that is not in any export set.

Steps to reproduce

try to link tvm target with another cmake target using.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions