2 include_directories(${CMAKE_SOURCE_DIR}/lib ${include_dirs})
4 set(websocketsinkplugin_headers websocketsink.h websocketmanager.h)
5 set(websocketsinkplugin_sources websocketsinkmanager.cpp websocketsink.cpp)
6 add_library(websocketsinkplugin MODULE ${websocketsinkplugin_sources})
7 set_target_properties(websocketsinkplugin PROPERTIES PREFIX "")
8 target_link_libraries(websocketsinkplugin -lamb -lwebsockets -L${CMAKE_CURRENT_BINARY_DIR}/lib ${link_libraries})