diff --git a/conanfile.py b/conanfile.py index 01e2ffb579c..659915b0baf 100644 --- a/conanfile.py +++ b/conanfile.py @@ -412,7 +412,7 @@ def generate(self): # Copy materials (flat) rmdir(self, str(Path(self.source_folder, "resources", "materials"))) - fdm_materials = self.dependencies["fdm_materials"].cpp_info + fdm_materials = self.dependencies["fdm_materials_private" if self.options.internal else "fdm_materials"].cpp_info copy(self, "*", fdm_materials.resdirs[0], self.source_folder) # Copy internal resources