[FEA] rapids-cmake GLOBAL_TARGETS ....
should just infer CMAKE_FIND_PACKAGE_TARGETS_GLOBAL=ON
#626
Labels
GLOBAL_TARGETS ....
should just infer CMAKE_FIND_PACKAGE_TARGETS_GLOBAL=ON
#626
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.The text was updated successfully, but these errors were encountered: