Skip to content

Commit daeaaca

Browse files
authored
Fix pdb file copying for RelWithDebInfo builds
Ensure pdb files are copied correctly for Windows builds.
1 parent 5cf177c commit daeaaca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conanfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ def package(self):
152152
# Add the pdb files next to the libs for RelWithDebInfo linking
153153
if tools.os_info.is_windows:
154154
pdb_dest = pathlib.Path(package_dir, "RelWithDebInfo/lib")
155-
# pdb_dest.mkdir()
156-
pdb_files = pathlib.Path(self.build_folder).glob("hdps/RelWithDebInfo/*.pdb")
155+
pdb_dest.mkdir()
156+
pdb_files = pathlib.Path(self.build_folder).glob("*.pdb")
157157
for pfile in pdb_files:
158158
shutil.copy(pfile, pdb_dest)
159159

0 commit comments

Comments
 (0)