|
|
|
@ -11,8 +11,8 @@ endif (${WITH_SRV} STREQUAL ON)
|
|
|
|
|
add_executable(mosquitto_pub pub_client.c ${shared_src})
|
|
|
|
|
add_executable(mosquitto_sub sub_client.c ${shared_src})
|
|
|
|
|
|
|
|
|
|
target_link_libraries(mosquitto_pub mosquitto)
|
|
|
|
|
target_link_libraries(mosquitto_sub mosquitto)
|
|
|
|
|
target_link_libraries(mosquitto_pub libmosquitto)
|
|
|
|
|
target_link_libraries(mosquitto_sub libmosquitto)
|
|
|
|
|
|
|
|
|
|
install(TARGETS mosquitto_pub RUNTIME DESTINATION ${BINDIR} LIBRARY DESTINATION ${LIBDIR})
|
|
|
|
|
install(TARGETS mosquitto_sub RUNTIME DESTINATION ${BINDIR} LIBRARY DESTINATION ${LIBDIR})
|
|
|
|
|