提交 083f756d 编写于 作者: S Stanislav Ravas 提交者: Ian Craggs

Generate shlibs control file for debian package

Without the control file, dpkg-shlibdeps won't recognize this package.
Depending packages created by library user would end up without
dependency on libpaho-mqtt.
Signed-off-by: NStanislav Ravas <ravas@tind.sk>
上级 b64db5d8
......@@ -62,6 +62,8 @@ ENDIF()
IF(PAHO_BUILD_DEB_PACKAGE)
set(CMAKE_INSTALL_DOCDIR share/doc/libpaho-mqtt)
set(CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS ON)
set(CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS_POLICY ">=")
ENDIF()
ADD_SUBDIRECTORY(src)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册