diff --git a/recipes/qt-advanced-docking-system/all/conanfile.py b/recipes/qt-advanced-docking-system/all/conanfile.py index 7f945938b798df..7aa8cb98df0243 100644 --- a/recipes/qt-advanced-docking-system/all/conanfile.py +++ b/recipes/qt-advanced-docking-system/all/conanfile.py @@ -123,10 +123,12 @@ def package(self): def package_info(self): if Version(self.version) >= 4: - lib_name = f"qt{self._qt_major}advanceddocking" - self.cpp_info.includedirs.append(os.path.join("include", lib_name)) + name = f"qt{self._qt_major}advanceddocking" + self.cpp_info.includedirs.append(os.path.join("include", name)) + lib_name = f"{name}d" if self.settings.build_type == "Debug" else name else: lib_name = "qtadvanceddocking" + if self.options.shared: self.cpp_info.libs = [lib_name] else: