fixed parallalel building and make install
[profile/ivi/automotive-message-broker.git] / plugins / websocketsink / CMakeLists.txt
index c64cd1f..3010eca 100644 (file)
@@ -7,6 +7,6 @@ set(websocketsinkplugin_headers websocketsink.h websocketmanager.h)
 set(websocketsinkplugin_sources websocketsinkmanager.cpp websocketsink.cpp)
 add_library(websocketsinkplugin MODULE ${websocketsinkplugin_sources})
 set_target_properties(websocketsinkplugin PROPERTIES PREFIX "")
-target_link_libraries(websocketsinkplugin -lamb -lwebsockets  -L${CMAKE_CURRENT_BINARY_DIR}/lib ${link_libraries})
+target_link_libraries(websocketsinkplugin amb websockets  -L${CMAKE_CURRENT_BINARY_DIR}/lib ${link_libraries})
 
 install(TARGETS websocketsinkplugin LIBRARY DESTINATION lib/automotive-message-broker)