mirror of
https://github.com/eclipse/paho.mqtt.c.git
synced 2025-05-06 18:25:48 +08:00
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: Stanislav Ravas <ravas@tind.sk>
This commit is contained in:
parent
b64db5d82e
commit
083f756d71
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user