diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b89c0a3..43743b7a 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,5 +165,6 @@ if(EXISTS "${ROOT}/etc/debian_version") install(FILES ${CMAKE_SOURCE_DIR}/contrib/debian/systemd/ebusd.service DESTINATION /lib/systemd/system/) endif() if(HAVE_MQTT) - install(FILES ${CMAKE_SOURCE_DIR}/contrib/etc/ebusd/mqtt-*.cfg DESTINATION /etc/ebusd/) -endif(HAVE_MQTT) \ No newline at end of file + FILE(GLOB MQTT_CFG_FILES "${CMAKE_SOURCE_DIR}/contrib/etc/ebusd/mqtt-*.cfg") + install(FILES ${MQTT_CFG_FILES} DESTINATION /etc/ebusd/) +endif(HAVE_MQTT)