Skip to content

Commit

Permalink
fix resources path
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier committed May 29, 2024
1 parent 4c4a335 commit 39b1484
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions recipes/qt/6.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1539,10 +1539,8 @@ def _create_plugin(pluginname, libname, plugintype, requires):
component = "qt" + m[:m.find("_")]
if component not in self.cpp_info.components:
continue
submodules_dir = os.path.join(object_dir, m)
for sub_dir in os.listdir(submodules_dir):
submodule_dir = os.path.join(submodules_dir, sub_dir)
obj_files = [os.path.join(submodule_dir, file) for file in os.listdir(submodule_dir)]
for root, _, files in os.walk(os.path.join(object_dir, m)):
obj_files = [os.path.join(root, file) for file in files]
self.cpp_info.components[component].exelinkflags.extend(obj_files)
self.cpp_info.components[component].sharedlinkflags.extend(obj_files)

Expand Down

0 comments on commit 39b1484

Please sign in to comment.