Make wheelsourceplugin actually read JS events (currently just prints out)
[profile/ivi/automotive-message-broker.git] / plugins / wheel / CMakeLists.txt
1
2 include_directories(${CMAKE_SOURCE_DIR}/lib ${include_dirs})
3
4 pkg_check_modules(giounix REQUIRED gio-unix-2.0)
5 set(link_libraries ${link_libraries} ${giounix_LIBRARIES})
6 #set(include_dirs ${include_dirs} ${giounix_INCLUDE_DIRS})
7 include_directories(${giounix_INCLUDE_DIRS})
8
9 set(wheelsourceplugin_headers wheelplugin.h)
10 set(wheelsourceplugin_sources wheelplugin.cpp)
11
12 add_library(wheelsourceplugin MODULE ${wheelsourceplugin_sources})
13 set_target_properties(wheelsourceplugin PROPERTIES PREFIX "")
14 target_link_libraries(wheelsourceplugin -lamb -L${CMAKE_CURRENT_BINARY_DIR}/lib ${link_libraries})