Fix screen watcher dependency 77/169777/1
authorhyunho <hhstark.kang@samsung.com>
Fri, 9 Feb 2018 04:18:28 +0000 (13:18 +0900)
committerhyunho <hhstark.kang@samsung.com>
Fri, 9 Feb 2018 04:18:28 +0000 (13:18 +0900)
Change-Id: Ia5918c628b39824dd4a076e14d073a8755f3b43c
Signed-off-by: hyunho <hhstark.kang@samsung.com>
CMakeLists.txt
screen_connector_watcher/CMakeLists.txt
screen_connector_watcher/screen_connector_watcher.pc.in
unittest/CMakeLists.txt

index bd6837e3166edc53b48997218cc5e42f9f7742ac..9afb3336b0e464515587bfb00da6afef8ae1ed37 100644 (file)
@@ -8,5 +8,6 @@ ADD_SUBDIRECTORY(screen_connector_watcher_evas)
 ADD_SUBDIRECTORY(unittest)
 
 ADD_DEPENDENCIES(screen_connector_remote_surface_evas screen_connector_remote_surface)
+ADD_DEPENDENCIES(screen_connector_watcher screen_connector_remote_surface)
 ADD_DEPENDENCIES(screen_connector_watcher_evas screen_connector_watcher screen_connector_remote_surface_evas)
-ADD_DEPENDENCIES(gtest-screen-connector screen_connector_watcher_evas)
+ADD_DEPENDENCIES(gtest-screen-connector screen_connector_watcher)
index 51310d48bb8e628822d61d970c09963087521ece..5a78fdd8fb57afc770e63e2bf79ed6ab04dc70b1 100644 (file)
@@ -37,7 +37,7 @@ ADD_LIBRARY (${PROJECT_NAME} SHARED ${SOURCES})
 SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${VERSION_MAJOR})
 SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${VERSION})
 
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${screen_connector_watcher_LDFLAGS})
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${screen_connector_watcher_LDFLAGS} screen_connector_remote_surface)
 
 CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
 SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${PROJECT_NAME}.pc")
index fdc9a3d52ab8461d685c86781f3ddf1cae2f8a33..5f77393031d7e00514a2d5fdabf86a73edc30848 100644 (file)
@@ -6,6 +6,7 @@ includedir=@INCLUDEDIR@
 Name: screen_connector_watcher
 Description: Support development of the Screen Connector Watcher library
 Version: @VERSION@
-Libs: -L${libdir} -lscreen_connector_watcher
+Requires: screen_connector_remote_surface
+Libs: -L${libdir} -lscreen_connector_remote_surface -lscreen_connector_watcher
 Cflags: -I${includedir}
 cppflags: -I${includedir}
index 78a6b42d50036f2e3a33b67d4ebb014fc9482efe..3af7e51efba8e3fb761a9ad07cdbbf4d3e1fe437 100644 (file)
@@ -25,6 +25,6 @@ ADD_EXECUTABLE(${PROJECT_NAME}
        ${SOURCES}
 )
 
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${gtest-screen-connector_LDFLAGS} screen_connector_watcher_evas screen_connector_remote_surface_evas screen_connector_remote_surface)
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${gtest-screen-connector_LDFLAGS} screen_connector_watcher)
 
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /usr/bin/)