fixed parallalel building and make install
[profile/ivi/automotive-message-broker.git] / plugins / wheel / CMakeLists.txt
index b140059..e0febed 100644 (file)
@@ -11,4 +11,6 @@ set(wheelsourceplugin_sources wheelplugin.cpp)
 
 add_library(wheelsourceplugin MODULE ${wheelsourceplugin_sources})
 set_target_properties(wheelsourceplugin PROPERTIES PREFIX "")
-target_link_libraries(wheelsourceplugin -lamb -L${CMAKE_CURRENT_BINARY_DIR}/lib ${link_libraries})
+target_link_libraries(wheelsourceplugin amb -L${CMAKE_CURRENT_BINARY_DIR}/lib ${link_libraries})
+
+install(TARGETS wheelsourceplugin LIBRARY DESTINATION lib/automotive-message-broker)