Skip to content

Commit

Permalink
Use fdm_materials_private when appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Dec 13, 2024
1 parent cd49eb3 commit 86e799e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86e799e

Please sign in to comment.