Messaging IPC modified.
authorByounghui <byounghui.lim@samsung.com>
Thu, 1 Aug 2013 06:55:37 +0000 (15:55 +0900)
committerByounghui <byounghui.lim@samsung.com>
Thu, 1 Aug 2013 07:48:31 +0000 (16:48 +0900)
Change-Id: Iba7ce8fc6e7600eb2a3ff5281b5c03e4f469f99f
Signed-off-by: Byounghui <byounghui.lim@samsung.com>
CMakeLists.txt

index 684c2bd..84f08f3 100644 (file)
@@ -58,7 +58,7 @@ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE)
 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 "")
 
@@ -78,20 +78,6 @@ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -
 
 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" )