Skip to content

CMake: config file is not installed along targets file #320

@SpaceIm

Description

@SpaceIm

Installing TensorpipeTargets.cmake and TensorpipeTargets-<mode>.cmake is useless if a config file including TensorpipeTargets.cmake is not installed with these files: https://cmake.org/cmake/help/latest/command/find_package.html#full-signature-and-config-mode

You might also want to export tensorpipe target with a namespace to follow best practices (and add an alias target to be consistent between add_subdirectory() and find_package()).

Last but not least, you might want to properly find dependencies (cuda, libuv & libnop) in these files for consumers using this config file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions