diff --git a/conanfile.py b/conanfile.py index d07121b6..663fcb7c 100644 --- a/conanfile.py +++ b/conanfile.py @@ -159,7 +159,7 @@ def generate(self): tc.cache_variables["BUILD_UNIT_TESTS"] = self._with_unit_tests tc.cache_variables["BUILD_EXAMPLES"] = False tc.cache_variables["BUILD_PYTHON_MODULE"] = False - tc.cache_variables["USE_RMM"] = self.options.use_rmm + tc.cache_variables["USE_RMM"] = self.options.get_safe("use_rmm", False) for module in MODULES: tc.cache_variables[f"BUILD_cupoch_{module}"] = module in self._enabled_modules tc.generate()