use glob to find mqtt cfg files (fixes #601)
This commit is contained in:
+2
-1
@@ -165,5 +165,6 @@ if(EXISTS "${ROOT}/etc/debian_version")
|
|||||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/debian/systemd/ebusd.service DESTINATION /lib/systemd/system/)
|
install(FILES ${CMAKE_SOURCE_DIR}/contrib/debian/systemd/ebusd.service DESTINATION /lib/systemd/system/)
|
||||||
endif()
|
endif()
|
||||||
if(HAVE_MQTT)
|
if(HAVE_MQTT)
|
||||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/etc/ebusd/mqtt-*.cfg DESTINATION /etc/ebusd/)
|
FILE(GLOB MQTT_CFG_FILES "${CMAKE_SOURCE_DIR}/contrib/etc/ebusd/mqtt-*.cfg")
|
||||||
|
install(FILES ${MQTT_CFG_FILES} DESTINATION /etc/ebusd/)
|
||||||
endif(HAVE_MQTT)
|
endif(HAVE_MQTT)
|
||||||
Reference in New Issue
Block a user