Skip to content

Commit

Permalink
remove unnecessary dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: xiehuc <xiehuc@gmail.com>
  • Loading branch information
xiehuc committed Nov 11, 2012
1 parent 687876f commit c7e50d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Expand Up @@ -13,9 +13,7 @@ find_package(PkgConfig REQUIRED)
pkg_check_modules(PURPLE REQUIRED purple>=2.8.0)
pkg_check_modules(GLIB REQUIRED glib-2.0)
pkg_check_modules(CURL REQUIRED libcurl)
pkg_check_modules(ACCOUNT account-plugin)
pkg_check_modules(MCP mission-control-plugins)
pkg_check_modules(SIGNON libsignon-glib)
pkg_check_modules(GTK gtk+-3.0)
#recommand libcurl>=7.22.0


Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -36,7 +36,7 @@ target_link_libraries(webqq
${PURPLE_LIBRARIES}
${GLIB_LIBRARIES}
${CURL_LIBRARIES}
ev
# ev
)

INSTALL(TARGETS webqq DESTINATION ${LIB_INSTALL_DIR})
8 changes: 2 additions & 6 deletions ubuntu-online-account/CMakeLists.txt
Expand Up @@ -3,18 +3,14 @@ add_library(plugin MODULE
)
set_target_properties(plugin PROPERTIES OUTPUT_NAME webqq)
include_directories(
${ACCOUNT_INCLUDE_DIRS}
${GLIB_INCLUDE_DIRS}
${GTK_INCLUDE_DIRS}
)
find_library(EMPATHY_LIBRARIES
empathy-uoa-account-plugin
empathy
empathy-gtk
/usr/lib/empathy)
target_link_libraries(plugin
${EMPATHY_LIBRARIES}
${ACCOUNT_LIBRARIES}
${MCP_LIBRARIES}
${SIGNON_LIBRARIES}
)
INSTALL(TARGETS plugin DESTINATION ${PLUGIN_INSTALL_DIR})
INSTALL(FILES webqq.provider DESTINATION /usr/share/accounts/providers)
Expand Down

0 comments on commit c7e50d8

Please sign in to comment.