1 IF( (NOT UBUNTU_PROFILE) )
2 PKG_CHECK_MODULES(FEEDBACK feedback)
3 PKG_CHECK_MODULES(MMFSOUND mm-sound)
5 SET(PLUGIN_TARGET dali2-feedback-plugin )
7 MESSAGE(STATUS ${ROOT_SRC_DIR}/plugins )
8 SET( plugin_src_dir ${ROOT_SRC_DIR}/plugins )
10 INCLUDE( ${plugin_src_dir}/file.list )
12 SET( PLUGIN_SOURCES ${feedback_plugin_src_files})
14 ADD_LIBRARY( ${PLUGIN_TARGET} SHARED ${PLUGIN_SOURCES} )
16 TARGET_LINK_LIBRARIES( ${PLUGIN_TARGET} PUBLIC
20 TARGET_COMPILE_DEFINITIONS( ${PLUGIN_TARGET} PUBLIC
21 -DDALI_SOUND_DIR=\"${dalisounddir}\")
23 TARGET_COMPILE_OPTIONS( ${PLUGIN_TARGET} PUBLIC
28 ${DALI_PROFILE_CFLAGS}
29 ${DALI_ADAPTOR_CFLAGS}
33 # Install plugin resources
34 #SET( dalisounddir ${dataReadOnlyDir}/plugins/sounds/ )
35 SET( dalisounddir ${CMAKE_INSTALL_PREFIX}/../plugins/sounds/ )
36 #EXIT(${dalisounddir})
37 INSTALL( FILES ${dali_plugin_sound_files} DESTINATION ${dalisounddir} )
38 INSTALL( TARGETS ${PLUGIN_TARGET} DESTINATION ${LIB_DIR} )