ADD_EXECUTABLE (${this_target} ${${this_target}_SOURCE_FILES})
## Create Shared Library
-SET(STATIC_LIBS system_service)
+SET(STATIC_LIBS system_service messaging_service)
SET_TARGET_PROPERTIES(${this_target} PROPERTIES LINK_INTERFACE_LIBRARIES "")
TARGET_LINK_LIBRARIES( ${this_target} ${STATIC_LIBS})
-## Create Shared Library
-SET(STATIC_LIBS messaging_service)
-
-SET_TARGET_PROPERTIES(${this_target} PROPERTIES LINK_INTERFACE_LIBRARIES "")
-
-ADD_DEPENDENCIES(${this_target} ${STATIC_LIBS})
-
-OSP_ADD_OBJS_IN_ARCHIVE(${STATIC_LIBS})
-
-SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -Wl,--as-needed")
-
-TARGET_LINK_LIBRARIES( ${this_target} ${STATIC_LIBS})
-
-
TARGET_LINK_LIBRARIES(${this_target} -Xlinker --no-undefined -Xlinker --as-needed -pie)
TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw -lchromium")
TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-uifw" )