Skip to content

Commit 3fa0f31

Browse files
authored
Update Windows OS check in conanfile.py
1 parent 9c1cc1a commit 3fa0f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def package(self):
152152
self.copy(pattern="*", src=package_dir)
153153

154154
# Add the pdb files next to the libs for RelWithDebInfo linking
155-
if tools.os_info.is_windows:
155+
if self.settings.os == "Windows":
156156
pdb_dest = pathlib.Path(package_dir, "RelWithDebInfo", "pdb")
157157
pdb_dest.mkdir()
158158
pdb_files = pathlib.Path(self.build_folder).glob("*.pdb")

0 commit comments

Comments
 (0)