Skip to content

Commit d431030

Browse files
authored
Update conanfile.py
1 parent daeaaca commit d431030

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

conanfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,16 @@ def package(self):
148148
release_dir,
149149
]
150150
)
151+
152+
self.copy(pattern="*", src=package_dir)
151153

152154
# Add the pdb files next to the libs for RelWithDebInfo linking
153155
if tools.os_info.is_windows:
154-
pdb_dest = pathlib.Path(package_dir, "RelWithDebInfo/lib")
156+
pdb_dest = pathlib.Path(package_dir, "RelWithDebInfo/pdb")
155157
pdb_dest.mkdir()
156158
pdb_files = pathlib.Path(self.build_folder).glob("*.pdb")
157159
for pfile in pdb_files:
158160
shutil.copy(pfile, pdb_dest)
159-
160-
self.copy(pattern="*", src=package_dir)
161161

162162
def package_info(self):
163163
self.cpp_info.relwithdebinfo.libdirs = ["RelWithDebInfo/lib"]

0 commit comments

Comments
 (0)