rapidsai / rapids-cmake

https://docs.rapids.ai/api/rapids-cmake/stable/
Apache License 2.0
30 stars 46 forks source link

rapids_cpm_cccl preserve install location details from first invocation. #513

Closed robertmaynard closed 10 months ago

robertmaynard commented 10 months ago

Description

Previously we would run the install rules each time rapids_cpm_cccl was called, since we checked for CCCL_SOURCE_DIR and that could have been defined by an earlier invocation at the same scope.

This causes issue when the first invocation of rapids_cpm_cccl used a custom install location. CMake's install rules would use the first location, but CCCL install files would contain the second location since they got re-configured on each execution.

Checklist

vyasr commented 10 months ago

/merge