diff --git a/CMakeLists.txt b/CMakeLists.txt index f8e32d8f..f63c1e49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cef3ffc8..9c18d5e6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,7 +36,7 @@ target_link_libraries(webqq ${PURPLE_LIBRARIES} ${GLIB_LIBRARIES} ${CURL_LIBRARIES} - ev + # ev ) INSTALL(TARGETS webqq DESTINATION ${LIB_INSTALL_DIR}) diff --git a/ubuntu-online-account/CMakeLists.txt b/ubuntu-online-account/CMakeLists.txt index eb01ed62..cfc0cd87 100644 --- a/ubuntu-online-account/CMakeLists.txt +++ b/ubuntu-online-account/CMakeLists.txt @@ -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)