Skip to content

Commit

Permalink
don't use settings in source(self)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier authored Jun 19, 2023
1 parent 38ab9c1 commit 9ac42f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/qt/6.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,9 @@ def package_id(self):

def source(self):
destination = self.source_folder
if self.settings.os == "Windows":
if self._settings_build.os == "Windows":
# Don't use os.path.join, or it removes the \\?\ prefix, which enables long paths
destination = f"\\\\?\\{self.source_folder}"
destination = rf"\\?\{self.source_folder}"
get(self, **self.conan_data["sources"][self.version],
strip_root=True, destination=destination)

Expand Down

0 comments on commit 9ac42f4

Please sign in to comment.