Gianfranco Costamagna 9f6d45379e mosquitto: refresh patches and sync with Debian packaging
Also add patch from debian to mqtt_protocol.h header file

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 16:38:30 -07:00

15 lines
593 B
Diff

Description: Also install mqtt_protocol.h, as is done in Makefile
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Bug-Debian: https://bugs.debian.org/951116
Forwarded: https://github.com/eclipse/mosquitto/pull/1599
Last-Update: 2020-02-15
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -114,4 +114,4 @@
install(TARGETS libmosquitto_static ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")
endif (WITH_STATIC_LIBRARIES)
-install(FILES mosquitto.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
+install(FILES mqtt_protocol.h mosquitto.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")