Skip to content

[FEA] rapids-cmake GLOBAL_TARGETS .... should just infer CMAKE_FIND_PACKAGE_TARGETS_GLOBAL=ON #626

@robertmaynard

Description

@robertmaynard

Is your feature request related to a problem? Please describe.
Currently developers need to explicitly list the targets they want evalated to global state. Now that we require CMake 3.24 we should
remove that burden of listing targets from users of rapids-cmake.

Describe the solution you'd like

Every rapids-cmake API that has a GLOBAL_TARGETS parameter should support zero values.
When we are given GLOBAL_TARGETS we should enable CMAKE_FIND_PACKAGE_TARGETS_GLOBAL to make all targets global and not just the ones listed.

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