Skip to content

Commit

Permalink
Remove buildenv_info and runenv_info
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Dec 14, 2022
1 parent adf9710 commit 490be1f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions recipes/jom/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ def package_info(self):
self.cpp_info.resdirs = []
self.cpp_info.includedirs = []

bin_folder = os.path.join(self.package_folder, "bin")
# In case need to find packaged tools when building a package
self.buildenv_info.prepend_path("PATH", bin_folder)
# In case need to find packaged tools at runtime
self.runenv_info.prepend_path("PATH", bin_folder)
# TODO: Legacy, to be removed on Conan 2.0
bin_folder = os.path.join(self.package_folder, "bin")
self.env_info.PATH.append(bin_folder)

0 comments on commit 490be1f

Please sign in to comment.