Skip to content

Commit 5903567

Browse files
[qt] set lib property for plugins
1 parent 7ce183d commit 5903567

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

recipes/qt/5.x.x/conanfile.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,8 +1075,7 @@ def _create_plugin(pluginname, libname, plugintype, requires):
10751075
assert componentname not in self.cpp_info.components, f"Plugin {pluginname} already present in self.cpp_info.components"
10761076
self.cpp_info.components[componentname].set_property("cmake_target_name", f"Qt5::{pluginname}")
10771077
self.cpp_info.components[componentname].set_property("cmake_target_aliases", [f"Qt::{pluginname}"])
1078-
if not self.options.shared:
1079-
self.cpp_info.components[componentname].libs = [libname + libsuffix]
1078+
self.cpp_info.components[componentname].libs = [libname + libsuffix]
10801079
self.cpp_info.components[componentname].libdirs = [os.path.join("plugins", plugintype)]
10811080
self.cpp_info.components[componentname].includedirs = []
10821081
if "Core" not in requires:

0 commit comments

Comments
 (0)