mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 14:09:05 +08:00
Use fdm_materials_private when appropriate
This commit is contained in:
parent
cd49eb3bff
commit
86e799e565
@ -412,7 +412,7 @@ class CuraConan(ConanFile):
|
||||
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user