Is your feature request related to a problem? Please describe.
The CPM_SOURCE_CACHE variable allows for users/envs to describe where to checkout out source code. In theory this should still work with rapids-cmake overrides as it only controls where a git clone occurs.
But currently rapids_cpm_package_override fixes the source tree location due to directly calling FetchContent_Declare instead of the higher level CPM function.
Describe the solution you'd like
We should investigate using CPM to register the override information that should ensure we respect CPM_SOURCE_CACHE.
Is your feature request related to a problem? Please describe. The
CPM_SOURCE_CACHE
variable allows for users/envs to describe where to checkout out source code. In theory this should still work withrapids-cmake
overrides as it only controls where a git clone occurs.But currently
rapids_cpm_package_override
fixes the source tree location due to directly callingFetchContent_Declare
instead of the higher levelCPM
function.Describe the solution you'd like We should investigate using
CPM
to register the override information that should ensure we respectCPM_SOURCE_CACHE
.