rapids_cmake_check_conda_env#
Added in version v26.08.00.
Detect when the active Conda environment has changed since the build directory was initially configured.
rapids_cmake_check_conda_env([REBUILD_INSTRUCTION <instruction>])
When called from within a Conda environment, records the current CONDA_PREFIX in the
internal cache variable rapids_conda_prefix. On subsequent configures, if CONDA_PREFIX
differs from the recorded value, configure terminates with a fatal error that includes
REBUILD_INSTRUCTION for the user.
REBUILD_INSTRUCTIONInstructions shown to the user on how to delete the build directory and reconfigure. If not provided, a default instruction
rm -rf <build directory>is used.