mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Set CURA_RESOURCES env
Additional paths for Cura resources are appended in the package information, for use in defining the Cura resource directory. This modification enhances the path setup in conanfile.py, offering greater versatility for referencing Cura resources. Contribute to NP-186
This commit is contained in:
parent
9824c5703c
commit
8be474df39
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ class CuraResource(ConanFile):
|
|||
|
||||
def package_info(self):
|
||||
self.cpp_info.includedirs = []
|
||||
self.runenv_info.append_path("CURA_RESOURCES", os.path.join(self.package_folder, "res"))
|
||||
self.env_info.CURA_RESOURCES.append_path(os.path.join(self.package_folder, "res"))
|
||||
|
||||
def package_id(self):
|
||||
self.info.clear()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue