Bugfix: enabling DLT was overriding everything else on linker flags because of error in cmake set keyword

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
This commit is contained in:
Gianfranco Costamagna
2020-02-06 15:21:40 +00:00
committed by Roger Light
parent 7a5c2d4da5
commit e9a7150031
+1 -1
View File
@@ -131,7 +131,7 @@ add_definitions (-DWITH_BROKER)
if (WITH_DLT)
message(STATUS "DLT_LIBDIR = ${DLT_LIBDIR}")
link_directories(${DLT_LIBDIR})
set (MOSQ_LIBS ${DLT_LIBRARIES})
set (MOSQ_LIBS ${MOSQ_LIBS} ${DLT_LIBRARIES})
endif (WITH_DLT)
set (MOSQ_LIBS ${MOSQ_LIBS} ${OPENSSL_LIBRARIES})