set(CMAKE_LIBRARY_OUTPUT_DIRECTORY
  ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/../lib/molequeue/plugins)

add_library(mqzeromqclf MODULE zeromqconnectionlistenerfactory.cpp)
set_target_properties(mqzeromqclf PROPERTIES AUTOMOC TRUE)
target_link_libraries(mqzeromqclf MoleQueueZeroMqServer)

install(TARGETS mqzeromqclf DESTINATION lib/molequeue/plugins)

set(CMAKE_LIBRARY_OUTPUT_DIRECTORY
  ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/../lib/molequeue/plugins)

add_library(ZeroMqServer MODULE zeromqconnectionlistenerfactory.cpp)
set_target_properties(ZeroMqServer PROPERTIES AUTOMOC TRUE)
target_link_libraries(ZeroMqServer MoleQueueZeroMqServer)

install(TARGETS ZeroMqServer DESTINATION lib/molequeue/plugins)

Rename mqlocalsocketclf plugin --> ZeroMqServer.
Rename mqlocalsocketclf plugin --> ZeroMqServer.

Change-Id: I43ce71d025671e74f785301685e43e2a0fb36c59
